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> | 2020-04-25 00:04:26 +0200 |
commit | 69646d6fb5f647d9a61636a80537d52c69dc344c (patch) | |
tree | 51ad362008a95c745d76e6001be4ee6b2326dfea /Makefile | |
parent | 72844d532b6d3b2a50b7a6412b87446662d55230 (diff) | |
download | NUR-69646d6fb5f647d9a61636a80537d52c69dc344c.tar.gz NUR-69646d6fb5f647d9a61636a80537d52c69dc344c.tar.zst NUR-69646d6fb5f647d9a61636a80537d52c69dc344c.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 |