Closed ofalvai closed 4 months ago
Could you take a closer look at the closure using nix-tree
?
Most of the packages listed here are very small each but I see GHC in the list which has a huge closure and shouldn't be a runtime dep. IIRC it wasn't quite 5GiB but certainly a few GiB.
GHC has crept into the runtime closure a few times already in the past due to leftover references.
cc @NixOS/haskell
(@eclairevoyant I'm not sure this is related to darwin in any way.)
If it's indeed GHC causing the majority of that closure size increase, this reads like a duplicate.
(@eclairevoyant I'm not sure this is related to darwin in any way.)
Couldn't repro on linux, closure size was ~100M. And the linked issue above seems to corroborate my assumption that it's darwin-specific.
Describe the bug
Looks like a lot of build dependencies end up as runtime dependencies. After installing
gix-annex
on aarch64-darwin:Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
@peti @roosemberth
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.