mach-nix/mach_nix/nix/call_mach.nix
DavHau d37c1eb362
Version 2.0.0 (#20)
See Changelog.md for changes.

* adapt data interface for new sdist dependency graph format

* change wording in readme

* wheel support + concept providers

* overlay support WIP

* overlay support

* extras support for nixpkgs

* machnix as overrides

* granular provider settings + custom autoPatchelfHook

* improve overlay generator, remove prefer_new

* unify nixpkgs src

* update interface, bump version and examples

* fixes and updated docs
2020-05-19 09:46:48 +00:00

12 lines
398 B
Nix

{ requirements, python_attr }:
let
nixpkgs_src = builtins.fetchTarball {
name = "nixpkgs";
url = "https://github.com/nixos/nixpkgs/tarball/${builtins.readFile ./NIXPKGS_COMMIT}";
sha256 = "${builtins.readFile ./NIXPKGS_SHA256}";
};
pkgs = import nixpkgs_src { config = {}; overlays = []; };
python = pkgs."${python_attr}";
in
import ./mach.nix { inherit requirements python; }