diff options
author | Justin Bedo <cu@cua0.org> | 2022-02-21 11:27:26 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2022-02-21 11:27:26 +1100 |
commit | c2514beaeaaeb87d48f0780e089758eb61d96629 (patch) | |
tree | 69c2071057b1ee8c07887e5aa05972422170d119 | |
parent | 6664d56a18be8f0e9f027d6e5723b4b4e35f2694 (diff) |
linkOutputs: ignore null values
-rw-r--r-- | default.nix | 2 |
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 |