summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-06-23 21:05:42 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:26 +0200
commit2e5c081c473a8b5951f28a916d625ab5bb46c7c5 (patch)
treea54309c04db949a9be008c26c3cdacc819d4076d
parentdebc5fae3b06ef915db9465db4599d4821f658fc (diff)
downloadNUR-2e5c081c473a8b5951f28a916d625ab5bb46c7c5.tar.gz
NUR-2e5c081c473a8b5951f28a916d625ab5bb46c7c5.tar.zst
NUR-2e5c081c473a8b5951f28a916d625ab5bb46c7c5.zip
Use nix-instantiate to get nixpkgs location
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ab58cf6..d17ef191 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ nix-info:
23 @version=$$(nix eval --raw nixpkgs.lib.version) && \ 23 @version=$$(nix eval --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 eval --raw nixpkgs.bc.meta.position | cut -d"/" -f-4 26 nix-instantiate --find-file nixpkgs
27 27
28nix-info-nixops: 28nix-info-nixops:
29 @$(MAKE) --no-print-directory -C nixops/ nix-info 29 @$(MAKE) --no-print-directory -C nixops/ nix-info