dotnet: strip debug info
This reduces the sdk closure size from 739.2M/2.5G to 494.5M/584.0M.
This commit is contained in:
parent
b1da94375c
commit
88e8d87fed
1 changed files with 7 additions and 0 deletions
|
@ -311,6 +311,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;
|
||||
|
|
Loading…
Reference in a new issue