Selaa lähdekoodia

One more nix option

Ryan Newton 7 vuotta sitten
vanhempi
commit
8938e64b1a
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6 0
      Makefile

+ 6 - 0
Makefile

@@ -22,6 +22,12 @@ clean:
 nix:
 	NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/51a83266d164195698f04468d90d2c6238ed3491.tar.gz $(MAKE) nix-head
 
+# This is a compromise.  Build faster by using a binary cache, but
+# still allow minor version patches by pointing at the head of a
+# (dynamic) channel.
+nix-fast:
+	NIX_PATH=nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-17.03.tar.gz $(MAKE) nix-head
+
 # Build with whatever version of nixpkgs is in the users environment:
 nix-head:
 	nix-shell --pure --run make