aboutsummaryrefslogtreecommitdiff
path: root/Makefile
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>2019-06-23 21:06:35 +0200
commitaf3aeef298d176c4f01ef341bf9662dd362834e5 (patch)
treeeaf589074e09a67bc2fcb32c9b6519738462ccd6 /Makefile
parent641efb7d7320412da92a70f7415e8ebdd4e324c8 (diff)
downloadNix-af3aeef298d176c4f01ef341bf9662dd362834e5.tar.gz
Nix-af3aeef298d176c4f01ef341bf9662dd362834e5.tar.zst
Nix-af3aeef298d176c4f01ef341bf9662dd362834e5.zip
Use nix-instantiate to get nixpkgs location
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3ab58cf..d17ef19 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