summaryrefslogtreecommitdiff
path: root/ibb/default.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-02-19 11:39:30 -0800
committerBen Sima <ben@bsima.me>2019-02-19 11:39:30 -0800
commit2af2b4eb6f22d418101b1df79e8cae94555b01fd (patch)
tree498fb6917dc928b7cc0b6a9afe39e519bd2dc2f8 /ibb/default.nix
parent76272ddf601795a9747d02eeb466b542555ac4ab (diff)
Fetch pinned nixpkgs as tarball
This should speed up initial building (e.g. on a builds.sr.ht).
Diffstat (limited to 'ibb/default.nix')
-rw-r--r--ibb/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/ibb/default.nix b/ibb/default.nix
index 1d6a065..310e790 100644
--- a/ibb/default.nix
+++ b/ibb/default.nix
@@ -3,10 +3,10 @@
, doBenchmark ? false
, doCheck ? true
, withHoogle ? false
-, pkgs ? import (fetchGit (import ../pkgs.nix)) {}
+, nixpkgs ? builtins.fetchTarball (import ../pkgs.nix)
}:
-with pkgs;
+with import "${nixpkgs}" {};
haskell.packages.${compiler}.developPackage {
root = ./.;
@@ -20,4 +20,4 @@ haskell.packages.${compiler}.developPackage {
then self.ghc.withPackages
else super.ghcWithPackages;
};
-} \ No newline at end of file
+}