Merge pull request #295305 from corngood/dotnet-strip

dotnet: strip debug info
This commit is contained in:
Pol Dellaiera 2024-03-12 21:56:46 +01:00 committed by GitHub
commit 3a2102cff6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -319,6 +319,13 @@ in stdenv.mkDerivation rec {
runHook postInstall
'';
# dotnet cli is in the root, so we need to strip from there
# TODO: should we install in $out/share/dotnet?
stripDebugList = [ "." ];
# stripping dlls results in:
# Failed to load System.Private.CoreLib.dll (error code 0x8007000B)
stripExclude = [ "*.dll" ];
passthru = {
inherit releaseManifest buildRid targetRid;
icu = _icu;