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 529dddd..cec2b6b 100644
--- a/default.nix
+++ b/default.nix
@@ -104,7 +104,7 @@ let
else
abort "linkOutputs: unsupported type";
link = dst: src: lib.optionalString (src != null) ''
- ln -s ${recurse src} $(perl -e 'print $ENV{"${dst}"}') ; ln -s ${recurse src} $out/${dst}
+ ln -s ${recurse src} $out/${lib.escapeShellArg dst}
'';
in
''