summaryrefslogtreecommitdiff
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>2020-04-25 00:04:26 +0200
commit69646d6fb5f647d9a61636a80537d52c69dc344c (patch)
tree51ad362008a95c745d76e6001be4ee6b2326dfea
parent72844d532b6d3b2a50b7a6412b87446662d55230 (diff)
downloadNUR-69646d6fb5f647d9a61636a80537d52c69dc344c.tar.gz
NUR-69646d6fb5f647d9a61636a80537d52c69dc344c.tar.zst
NUR-69646d6fb5f647d9a61636a80537d52c69dc344c.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 d17ef191..26dd47ed 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