2020-08-29 16:13:07 +00:00
|
|
|
{ requirements, python_attr , nixpkgs_rev , nixpkgs_sha }:
|
2020-05-19 09:46:48 +00:00
|
|
|
let
|
2020-08-29 16:13:07 +00:00
|
|
|
nixpkgs = builtins.fetchTarball {
|
2020-05-19 09:46:48 +00:00
|
|
|
name = "nixpkgs";
|
2020-08-29 16:13:07 +00:00
|
|
|
url = "https://github.com/nixos/nixpkgs/tarball/${nixpkgs_rev}";
|
|
|
|
sha256 = "${nixpkgs_sha}";
|
2020-05-19 09:46:48 +00:00
|
|
|
};
|
2020-08-29 16:13:07 +00:00
|
|
|
pkgs = import nixpkgs { config = {}; overlays = []; };
|
2020-05-19 09:46:48 +00:00
|
|
|
python = pkgs."${python_attr}";
|
|
|
|
in
|
|
|
|
|
2020-10-13 08:50:54 +00:00
|
|
|
import ./compileOverrides.nix { inherit requirements pkgs python; }
|