diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2016-02-20 16:12:32 +0100 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2016-02-20 16:12:50 +0100 |
commit | b4eebd86c16957222e9bc05de6b2cae27ac6b1d9 (patch) | |
tree | 69a9c22f7f030666e3fd57177803ef261bf86fd7 /maintainers/scripts | |
parent | fd3e02add818d6b4b7b3f225d10bc0f9925f2aaf (diff) |
Be less location-dependent
Diffstat (limited to 'maintainers/scripts')
-rwxr-xr-x | maintainers/scripts/nix-call-package | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintainers/scripts/nix-call-package b/maintainers/scripts/nix-call-package index 76f09e9ddeb85..be478fca2b75a 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 <nixpkgs$2> {}; x = pkgs.callPackage $1 { $3 }; in ${4:-x}" | nix-instantiate --show-trace - | xargs nix-store -r -K |