From: Ismaƫl Bouya Date: Mon, 1 Jul 2019 20:06:00 +0000 (+0200) Subject: Refetch nixpkgs when running nix-info X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=69646d6fb5f647d9a61636a80537d52c69dc344c;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Refetch nixpkgs when running nix-info --- 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