mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
Fix linkFarm for its new location
svn path=/nixpkgs/trunk/; revision=18567
This commit is contained in:
parent
e99acbff72
commit
e8c3467487
|
@ -71,6 +71,6 @@ rec {
|
|||
# Quickly create a set of symlinks to derivations.
|
||||
# entries is a list of attribute sets like { name = "name" ; path = "/nix/store/..."; }
|
||||
linkFarm = name: entries: runCommand name {} ("mkdir -p $out; cd $out; \n" +
|
||||
(lib.concatMapStrings (x: "ln -s '${x.path}' '${x.name}';\n") entries));
|
||||
(stdenv.lib.concatMapStrings (x: "ln -s '${x.path}' '${x.name}';\n") entries));
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue