diff --git a/maintainers/scripts/nix-call-package b/maintainers/scripts/nix-call-package index 76f09e9ddeb8..be478fca2b75 100755 --- a/maintainers/scripts/nix-call-package +++ b/maintainers/scripts/nix-call-package @@ -1,5 +1,5 @@ #! /bin/sh -echo "let pkgs = import /etc/nixos/nixpkgs$2 {}; x = pkgs.callPackage $1 { $3 }; in ${4:-x}" | +echo "let pkgs = import {}; x = pkgs.callPackage $1 { $3 }; in ${4:-x}" | nix-instantiate --show-trace - | xargs nix-store -r -K