mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #295305 from corngood/dotnet-strip
dotnet: strip debug info
This commit is contained in:
commit
3a2102cff6
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue