dotnet-sdk: Reduce closure: Unpack to a subdirectory to prevent copying build files (#47269)

This commit is contained in:
baracoder 2018-09-24 22:38:26 +02:00 committed by Jörg Thalheim
parent 8229fbb486
commit 7f0865bac8

View file

@ -21,7 +21,11 @@ in
sha512 = "639f9f68f225246d9cce798d72d011f65c7eda0d775914d1394df050bddf93e2886555f5eed85a75d6c72e9063a54d8aa053c64c326c683b94e9e0a0570e5654";
};
unpackPhase = "tar xvzf $src";
unpackPhase = ''
mkdir src
cd src
tar xvzf $src
'';
buildPhase = ''
runHook preBuild