aboutsummaryrefslogtreecommitdiff
path: root/nixops/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 /nixops/Makefile
parent641efb7d7320412da92a70f7415e8ebdd4e324c8 (diff)
downloadNix-af3aeef298d176c4f01ef341bf9662dd362834e5.tar.gz
Nix-af3aeef298d176c4f01ef341bf9662dd362834e5.tar.zst
Nix-af3aeef298d176c4f01ef341bf9662dd362834e5.zip
Use nix-instantiate to get nixpkgs location
Diffstat (limited to 'nixops/Makefile')
-rw-r--r--nixops/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixops/Makefile b/nixops/Makefile
index 6adc6e7..6087402 100644
--- a/nixops/Makefile
+++ b/nixops/Makefile
@@ -16,7 +16,7 @@ nix-info:
16 @version=$$(nix eval --raw nixpkgs.lib.version) && \ 16 @version=$$(nix eval --raw nixpkgs.lib.version) && \
17 mainversion=$$(echo $$version | cut -d"." -f -2) && \ 17 mainversion=$$(echo $$version | cut -d"." -f -2) && \
18 echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \ 18 echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \
19 nix eval --raw nixpkgs.bc.meta.position | cut -d"/" -f-4 19 nix-instantiate --find-file nixpkgs
20.PHONY: nix-info 20.PHONY: nix-info
21 21
22###### Initial setup 22###### Initial setup