~ben/web

e1abaf07646cf82b5fb82139e09c4cbfcd5d9604 — Ben Sima 1 year, 2 months ago 1d5cce4
Fetch tarball instead of git clone
2 files changed, 4 insertions(+), 4 deletions(-)

M default.nix
M pkgs.nix
M default.nix => default.nix +1 -1
@@ 3,7 3,7 @@
, doBenchmark ? false
, doCheck ? true
, withHoogle ? true
, pkgs ? import (fetchGit (import ./pkgs.nix)) {}
, pkgs ? import "${builtins.fetchTarball (import ./pkgs.nix)}" {}
}:

with pkgs;

M pkgs.nix => pkgs.nix +3 -3
@@ 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";
}