]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - Makefile
Refetch nixpkgs when running nix-info
[perso/Immae/Config/Nix.git] / Makefile
index d17ef1911f04d077646d576491eb77acec9fd854..26dd47edf042cb9f1792d1fe1fc3640904b2cff0 100644 (file)
--- 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