From 557478154a5adea8ccac4f20bc703c22340018e3 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 d17ef19..26dd47e 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