From af3aeef298d176c4f01ef341bf9662dd362834e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 23 Jun 2019 21:05:42 +0200 Subject: Use nix-instantiate to get nixpkgs location --- nixops/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixops/Makefile') diff --git a/nixops/Makefile b/nixops/Makefile index 6adc6e7..6087402 100644 --- a/nixops/Makefile +++ b/nixops/Makefile @@ -16,7 +16,7 @@ nix-info: @version=$$(nix eval --raw nixpkgs.lib.version) && \ mainversion=$$(echo $$version | cut -d"." -f -2) && \ echo "https://releases.nixos.org/nixos/$$mainversion/nixos-$$version/nixexprs.tar.xz" && \ - nix eval --raw nixpkgs.bc.meta.position | cut -d"/" -f-4 + nix-instantiate --find-file nixpkgs .PHONY: nix-info ###### Initial setup -- cgit v1.2.3