mach-nix/mach_nix/nix/call_mach.nix

13 lines
390 B
Nix
Raw Normal View History

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