From 2e5c081c473a8b5951f28a916d625ab5bb46c7c5 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(-) diff --git a/Makefile b/Makefile index 3ab58cf6..d17ef191 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