mono: don't propagate a dependency to glib-dev (15% closure size saving) #90288
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
This was added in 2005 back in 51ce4ea. This was not commented or
explained anywhere, and it does not seem to be necessary anymore
according to some quick testing I did.
Reduces mono closure size by ~80M.
Before:
/nix/store/4i8r0k2lq5602v1yqcr83vl9shamxnah-mono-5.20.1.27 516.8M
After:
/nix/store/pckw8yafi1hpgs0djxak04zjq7fcww9l-mono-5.20.1.27 436.6M
Testing done: ran
pinta
andkeepass
. Both still seem to work as expected. Also did a round ofnixpkgs-review
and didn't notice any new regressions, but it's hard to tell since half of the stuff that depends on mono is broken...Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)