diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-03-12 21:56:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 21:56:46 +0100 |
commit | 3a2102cff60fd8db22723cbbb793abd10404b72b (patch) | |
tree | 00f652bb9692fb8948dc928b08fcfc366293fb9d /pkgs/development/compilers/dotnet | |
parent | 81074976b7139115272a8f9b5ba5d52f076ae63d (diff) | |
parent | 88e8d87fedcd17d7125d970fc2e6ff03c9884d6a (diff) |
Merge pull request #295305 from corngood/dotnet-strip
dotnet: strip debug info
Diffstat (limited to 'pkgs/development/compilers/dotnet')
-rw-r--r-- | pkgs/development/compilers/dotnet/vmr.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/compilers/dotnet/vmr.nix b/pkgs/development/compilers/dotnet/vmr.nix index c51791e32484d..962c0c0844a5b 100644 --- a/pkgs/development/compilers/dotnet/vmr.nix +++ b/pkgs/development/compilers/dotnet/vmr.nix @@ -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; |