dotnet-sdk: move license files to the proper folder
This commit is contained in:
parent
fc46932830
commit
107160d342
1 changed files with 7 additions and 0 deletions
|
@ -72,9 +72,16 @@ stdenv.mkDerivation (finalAttrs: rec {
|
|||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir -p $out/bin
|
||||
cp -r ./ $out
|
||||
|
||||
mkdir -p $out/share/doc/$pname/$version
|
||||
mv $out/LICENSE.txt $out/share/doc/$pname/$version/
|
||||
mv $out/ThirdPartyNotices.txt $out/share/doc/$pname/$version/
|
||||
|
||||
ln -s $out/dotnet $out/bin/dotnet
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue