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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3ab58cf..d17ef19 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,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 nix-info-nixops: @$(MAKE) --no-print-directory -C nixops/ nix-info -- cgit v1.2.3