diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-06-23 21:05:42 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-06-23 21:06:35 +0200 |
commit | af3aeef298d176c4f01ef341bf9662dd362834e5 (patch) | |
tree | eaf589074e09a67bc2fcb32c9b6519738462ccd6 /Makefile | |
parent | 641efb7d7320412da92a70f7415e8ebdd4e324c8 (diff) | |
download | Nix-af3aeef298d176c4f01ef341bf9662dd362834e5.tar.gz Nix-af3aeef298d176c4f01ef341bf9662dd362834e5.tar.zst Nix-af3aeef298d176c4f01ef341bf9662dd362834e5.zip |
Use nix-instantiate to get nixpkgs location
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||
28 | nix-info-nixops: | 28 | nix-info-nixops: |
29 | @$(MAKE) --no-print-directory -C nixops/ nix-info | 29 | @$(MAKE) --no-print-directory -C nixops/ nix-info |