Merge pull request #173059 from Julow/linkfarm-2

Fix string context lost in `linkFarm`
This commit is contained in:
7c6f434c 2022-05-15 20:17:21 +00:00 committed by GitHub
commit f2ebcd6509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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