dotnet: Avoid double escaping of path (#365941)

This commit is contained in:
David McFarland
2024-12-20 09:26:44 -04:00
committed by GitHub

View File

@@ -114,7 +114,8 @@ attrs
# this needs to be before TMPDIR is changed, so the output isn't deleted
# if it uses mktemp
depsFile=$(realpath "''${1:-${lib.escapeShellArg defaultDepsFile}}")
${lib.toShellVars { inherit defaultDepsFile; }}
depsFile=$(realpath "''${1:-$defaultDepsFile}")
export TMPDIR
TMPDIR=$(mktemp -d -t fetch-deps-${lib.escapeShellArg finalPackage.name}.XXXXXX)