Escape paths

Co-authored-by: pennae <82953136+pennae@users.noreply.github.com>
This commit is contained in:
Jules Aguillon 2022-05-15 21:29:01 +02:00 committed by GitHub
parent f2a91a6679
commit 4acd65ce95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -477,7 +477,7 @@ rec {
cd $out
${lib.concatMapStrings (x: ''
mkdir -p "$(dirname ${lib.escapeShellArg x.name})"
ln -s ${x.path} ${lib.escapeShellArg x.name}
ln -s ${lib.escapeShellArg "${x.path}"} ${lib.escapeShellArg x.name}
'') entries}
'';