summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-07 22:27:10 +0100
committerlassulus <lass@lassul.us>2017-03-07 22:27:10 +0100
commitfa9a10ae846bd40874c8abe18be13505ec60178a (patch)
treef735d1d3d5795b76132748e75988e4c60be85b60
parentc938c30187352e417ec4fe0d129a9374b8566ed6 (diff)
parent218c58ef333e6968caa846612bdee162517b3b53 (diff)
Merge remote-tracking branch 'ni/master'
-rw-r--r--krebs/5pkgs/writers.nix2
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}