From 69646d6fb5f647d9a61636a80537d52c69dc344c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Mon, 1 Jul 2019 22:06:00 +0200 Subject: [PATCH] Refetch nixpkgs when running nix-info --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d17ef191..26dd47ed 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ env-dry-run: ./scripts/make-env --dry-run nix-info: - @version=$$(nix eval --raw nixpkgs.lib.version) && \ + @version=$$(nix eval --option tarball-ttl 1 --raw nixpkgs.lib.version) && \ mainversion=$$(echo $$version | cut -d"." -f -2) && \ echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \ nix-instantiate --find-file nixpkgs -- 2.41.0