aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.nix b/default.nix
index 1d2bad3..73cccdd 100644
--- a/default.nix
+++ b/default.nix
@@ -101,7 +101,7 @@ let
linkOutputs x
else
abort "linkOutputs: unsupported type";
- link = dst: src: ''
+ link = dst: src: lib.optionalString (src != null) ''
ln -s ${recurse src} $(perl -e 'print $ENV{"${dst}"}') ; ln -s ${recurse src} $out/${dst}
'';
in