From 2af2b4eb6f22d418101b1df79e8cae94555b01fd Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 19 Feb 2019 11:39:30 -0800 Subject: Fetch pinned nixpkgs as tarball This should speed up initial building (e.g. on a builds.sr.ht). --- pkgs.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs.nix') diff --git a/pkgs.nix b/pkgs.nix index b87407a..154daca 100644 --- a/pkgs.nix +++ b/pkgs.nix @@ -1,5 +1,5 @@ +# Get the sha256 with: nix-prefetch-url --unpack ${url} { - url = "https://github.com/nixos/nixpkgs.git"; - ref = "release-18.09"; - rev = "da81531c1d76b4c24b944f6cf69b7025770662c1"; + url = "https://github.com/NixOS/nixpkgs/archive/da81531c1d76b4c24b944f6cf69b7025770662c1.tar.gz"; + sha256 = "00qqchbvvbcmmkfpjkp1ki4kwcm33ch1ljbi2n3zxy36r430way1"; } -- cgit v1.2.3