buildDotnetModule: use platform-agnostic cp format
cp on macOS doesn't support the -T flag, which causes the fetch-deps script to fail. Appending `/.` to the source argument replicates the same functionality.
This commit is contained in:
parent
524d281acd
commit
d7728dfc67
@ -145,7 +145,7 @@ in stdenvNoCC.mkDerivation (args // {
|
||||
|
||||
store_src="${srcOnly args}"
|
||||
src="$(mktemp -d /tmp/${pname}.XXX)"
|
||||
cp -rT "$store_src" "$src"
|
||||
cp -r "$store_src/." "$src"
|
||||
chmod -R +w "$src"
|
||||
|
||||
trap "rm -rf $src $HOME" EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user