Be less location-dependent

This commit is contained in:
Michael Raskin 2016-02-20 16:12:32 +01:00
parent fd3e02add8
commit b4eebd86c1

View File

@ -1,5 +1,5 @@
#! /bin/sh #! /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 - | nix-instantiate --show-trace - |
xargs nix-store -r -K xargs nix-store -r -K