Browse Source

Be less location-dependent

nixos-19.03
Michael Raskin 7 years ago
parent
commit
b4eebd86c1
  1. 2
      maintainers/scripts/nix-call-package

2
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

Loading…
Cancel
Save