diff options
author | lassulus <lass@lassul.us> | 2017-03-07 22:27:10 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2017-03-07 22:27:10 +0100 |
commit | fa9a10ae846bd40874c8abe18be13505ec60178a (patch) | |
tree | f735d1d3d5795b76132748e75988e4c60be85b60 | |
parent | c938c30187352e417ec4fe0d129a9374b8566ed6 (diff) | |
parent | 218c58ef333e6968caa846612bdee162517b3b53 (diff) |
Merge remote-tracking branch 'ni/master'
-rw-r--r-- | krebs/5pkgs/writers.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/krebs/5pkgs/writers.nix b/krebs/5pkgs/writers.nix index e1dbed5c7..d14090323 100644 --- a/krebs/5pkgs/writers.nix +++ b/krebs/5pkgs/writers.nix @@ -122,7 +122,7 @@ with import <stockholm/lib>; assert types.package.check link; { install = /* sh */ '' - ${optionalString (dirOf path != "/") /* sh */ '' + ${optionalString (path != "") /* sh */ '' ${pkgs.coreutils}/bin/mkdir -p $out${dirOf path} ''} ${pkgs.coreutils}/bin/ln -s ${link} $out${path} |