nixpkgs-pinned: fetch a tarball instead

it's much faster
This commit is contained in:
William Casarin 2019-09-15 18:28:39 -07:00
parent e4d2aab561
commit d7d35b875a

View File

@ -1,12 +1,7 @@
let
fetch = rev: builtins.fetchTarball "https://github.com/nixos/nixpkgs-channels/archive/${rev}.tar.gz";
in
{ {
nixpkgs = builtins.fetchGit { nixpkgs = fetch "e6ad5e75f3bfaab5e7b7f0f128bf13d534879e65";
url = "https://github.com/nixos/nixpkgs-channels"; nixpkgs-unstable = fetch "765a71f15025ce78024bae3dc4a92bd2be3a8fbf";
ref = "nixos-19.03";
rev = "e6ad5e75f3bfaab5e7b7f0f128bf13d534879e65";
};
nixpkgs-unstable = builtins.fetchGit {
url = "https://github.com/nixos/nixpkgs-channels";
ref = "nixos-unstable";
rev = "765a71f15025ce78024bae3dc4a92bd2be3a8fbf";
};
} }