From 107160d3426d3448492d60436f040d3e69feca44 Mon Sep 17 00:00:00 2001 From: mdarocha Date: Sun, 2 Oct 2022 15:03:34 +0200 Subject: [PATCH] dotnet-sdk: move license files to the proper folder --- pkgs/development/compilers/dotnet/build-dotnet.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/compilers/dotnet/build-dotnet.nix b/pkgs/development/compilers/dotnet/build-dotnet.nix index b61adce0ad1d..69f770900fdd 100644 --- a/pkgs/development/compilers/dotnet/build-dotnet.nix +++ b/pkgs/development/compilers/dotnet/build-dotnet.nix @@ -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 '';