diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-07-01 22:06:00 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-07-01 22:06:00 +0200 |
commit | 557478154a5adea8ccac4f20bc703c22340018e3 (patch) | |
tree | b624de4268ffb65faeb9a348ede9e5a342509cc2 /Makefile | |
parent | a929614f94d11a4f397e72e74f38b3212c24cdee (diff) | |
download | Nix-557478154a5adea8ccac4f20bc703c22340018e3.tar.gz Nix-557478154a5adea8ccac4f20bc703c22340018e3.tar.zst Nix-557478154a5adea8ccac4f20bc703c22340018e3.zip |
Refetch nixpkgs when running nix-info
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -20,7 +20,7 @@ env-dry-run: | |||
20 | ./scripts/make-env --dry-run | 20 | ./scripts/make-env --dry-run |
21 | 21 | ||
22 | nix-info: | 22 | nix-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 |