aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-07-01 22:06:00 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-07-01 22:06:00 +0200
commit557478154a5adea8ccac4f20bc703c22340018e3 (patch)
treeb624de4268ffb65faeb9a348ede9e5a342509cc2
parenta929614f94d11a4f397e72e74f38b3212c24cdee (diff)
downloadNix-557478154a5adea8ccac4f20bc703c22340018e3.tar.gz
Nix-557478154a5adea8ccac4f20bc703c22340018e3.tar.zst
Nix-557478154a5adea8ccac4f20bc703c22340018e3.zip
Refetch nixpkgs when running nix-info
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d17ef19..26dd47e 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ env-dry-run:
20 ./scripts/make-env --dry-run 20 ./scripts/make-env --dry-run
21 21
22nix-info: 22nix-info:
23 @version=$$(nix eval --raw nixpkgs.lib.version) && \ 23 @version=$$(nix eval --option tarball-ttl 1 --raw nixpkgs.lib.version) && \
24 mainversion=$$(echo $$version | cut -d"." -f -2) && \ 24 mainversion=$$(echo $$version | cut -d"." -f -2) && \
25 echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \ 25 echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \
26 nix-instantiate --find-file nixpkgs 26 nix-instantiate --find-file nixpkgs