2020-05-19 09:46:48 +00:00
|
|
|
{ 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
|
|
|
|
|
2020-10-07 18:50:34 +00:00
|
|
|
import ./mach.nix { inherit requirements pkgs python; }
|