NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.08k stars 14.13k forks source link

git-annex closure size on aarch64-darwin #314271

Closed ofalvai closed 3 months ago

ofalvai commented 5 months ago

Describe the bug

Looks like a lot of build dependencies end up as runtime dependencies. After installing gix-annex on aarch64-darwin:

``` Added packages: [A.] #001 ChasingBottoms 1.3.1.14, 1.3.1.14-doc [A.] #002 DAV 1.3.4, 1.3.4-doc [A.] #003 Diff 0.4.1, 0.4.1-doc [A.] #004 Glob 0.10.2, 0.10.2-doc [A.] #005 HUnit 1.6.2.0, 1.6.2.0-doc [A.] #006 IfElse 0.85, 0.85-doc [A.] #007 OneTuple 0.4.2, 0.4.2-doc [A.] #008 QuickCheck 2.14.3, 2.14.3-doc [A.] #009 SHA 1.6.4.4, 1.6.4.4-doc [A.] #010 SafeSemaphore 0.10.1, 0.10.1-doc [A.] #011 StateVar 1.2.2, 1.2.2-doc [A.] #012 adjunctions 4.4.2, 4.4.2-doc [A.] #013 aeson 2.1.2.1, 2.1.2.1-doc [A.] #014 aeson-pretty 0.8.10, 0.8.10-doc [A.] #015 ansi-terminal 1.0.2, 1.0.2-doc [A.] #016 ansi-terminal-types 0.11.5, 0.11.5-doc [A.] #017 ansi-wl-pprint 1.0.2, 1.0.2-doc [A.] #018 appar 0.1.8, 0.1.8-doc [A.] #019 apple-framework-AppKit 11.0.0 [A.] #020 apple-framework-ApplicationServices 11.0.0 [A.] #021 apple-framework-AudioToolbox 11.0.0 [A.] #022 apple-framework-AudioUnit 11.0.0 [A.] #023 apple-framework-CFNetwork 11.0.0 [A.] #024 apple-framework-Carbon 11.0.0 [A.] #025 apple-framework-CloudKit 11.0.0 [A.] #026 apple-framework-Cocoa 11.0.0 [A.] #027 apple-framework-ColorSync 11.0.0 [A.] #028 apple-framework-Combine 11.0.0 [A.] #029 apple-framework-CoreAudio 11.0.0 [A.] #030 apple-framework-CoreAudioTypes 11.0.0 [A.] #031 apple-framework-CoreData 11.0.0 [A.] #032 apple-framework-CoreGraphics 11.0.0 [A.] #033 apple-framework-CoreImage 11.0.0 [A.] #034 apple-framework-CoreLocation 11.0.0 [A.] #035 apple-framework-CoreMIDI 11.0.0 [A.] #036 apple-framework-CoreServices 11.0.0 [A.] #037 apple-framework-CoreText 11.0.0 [A.] #038 apple-framework-CoreVideo 11.0.0 x2 [A.] #039 apple-framework-DiskArbitration 11.0.0 [A.] #040 apple-framework-Foundation 11.0.0 [A.] #041 apple-framework-IOSurface 11.0.0 [A.] #042 apple-framework-ImageIO 11.0.0 [A.] #043 apple-framework-Metal 11.0.0 [A.] #044 apple-framework-NetFS 11.0.0 [A.] #045 apple-framework-OpenCL 11.0.0 [A.] #046 apple-framework-OpenGL 11.0.0 [A.] #047 apple-framework-QuartzCore 11.0.0 [A.] #048 apple-framework-ServiceManagement 11.0.0 [A.] #049 apple-framework-SystemConfiguration 11.0.0 [A.] #050 apple-private-framework-AudioToolboxCore 11.0.0 [A.] #051 apple-private-framework-UIFoundation 11.0.0 [A.] #052 asn1-encoding 0.9.6, 0.9.6-doc [A.] #053 asn1-parse 0.9.5, 0.9.5-doc [A.] #054 asn1-types 0.3.4, 0.3.4-doc [A.] #055 assoc 1.1.1, 1.1.1-doc [A.] #056 async 2.2.5, 2.2.5-doc [A.] #057 attoparsec 0.14.4 [A.] #058 attoparsec-aeson 2.1.0.0 [A.] #059 attoparsec-iso8601 1.1.0.1, 1.1.0.1-doc [A.] #060 auto-update 0.1.6, 0.1.6-doc [A.] #061 aws 0.24.1, 0.24.1-doc [A.] #062 barbies 2.0.5.0, 2.0.5.0-doc [A.] #063 base-compat 0.13.1, 0.13.1-doc [A.] #064 base-compat-batteries 0.13.1, 0.13.1-doc [A.] #065 base-orphans 0.9.2, 0.9.2-doc [A.] #066 base16-bytestring 1.0.2.0, 1.0.2.0-doc [A.] #067 base64-bytestring 1.2.1.0, 1.2.1.0-doc [A.] #068 basement 0.0.16, 0.0.16-doc [A.] #069 bencode 0.6.1.1, 0.6.1.1-doc [A.] #070 bifunctors 5.6.2, 5.6.2-doc [A.] #071 binutils 2.41, 2.41-lib [A.] #072 bitvec 1.1.5.0, 1.1.5.0-doc [A.] #073 blaze-builder 0.4.2.3, 0.4.2.3-doc [A.] #074 blaze-html 0.9.2.0, 0.9.2.0-doc [A.] #075 blaze-markup 0.8.3.0, 0.8.3.0-doc [A.] #076 bloomfilter 2.0.1.2, 2.0.1.2-doc [A.] #077 boring 0.2.1, 0.2.1-doc [A.] #078 bsb-http-chunked 0.0.0.4, 0.0.0.4-doc [A.] #079 byteable 0.1.1, 0.1.1-data, 0.1.1-doc [A.] #080 byteorder 1.0.4, 1.0.4-doc [A.] #081 call-stack 0.4.0, 0.4.0-doc [A.] #082 case-insensitive 1.2.1.0, 1.2.1.0-doc [A.] #083 cctools-binutils-darwin 16.0.6-973.0.1 [A.] #084 cctools-binutils-darwin-wrapper 16.0.6-973.0.1 [A.] #085 cctools-llvm 16.0.6-973.0.1 [A.] #086 cctools-port 973.0.1 [A.] #087 cereal 0.5.8.3, 0.5.8.3-doc [A.] #088 clang-wrapper 16.0.6 [A.] #089 clientsession 0.9.2.0, 0.9.2.0-doc [A.] #090 clock 0.8.4, 0.8.4-doc [A.] #091 cmdargs 0.10.22, 0.10.22-doc [A.] #092 code-page 0.2.1, 0.2.1-doc [A.] #093 colour 2.3.6, 2.3.6-data, 2.3.6-doc [A.] #094 comonad 5.0.8, 5.0.8-doc [A.] #095 concurrent-output 1.10.21, 1.10.21-doc [A.] #096 conduit 1.3.5, 1.3.5-doc [A.] #097 conduit-combinators 1.3.0 [A.] #098 conduit-extra 1.3.6, 1.3.6-doc [A.] #099 constraints 0.14.2, 0.14.2-doc [A.] #100 contravariant 1.5.5, 1.5.5-doc [A.] #101 cookie 0.4.6, 0.4.6-doc [A.] #102 crypto-api 0.13.3, 0.13.3-doc [A.] #103 crypto-api-tests 0.3, 0.3-data, 0.3-doc [A.] #104 cryptohash-md5 0.11.101.0, 0.11.101.0-doc [A.] #105 cryptohash-sha1 0.11.101.0, 0.11.101.0-doc [A.] #106 crypton 0.34, 0.34-doc [A.] #107 crypton-connection 0.3.2, 0.3.2-doc [A.] #108 crypton-x509 1.7.6, 1.7.6-doc [A.] #109 crypton-x509-store 1.6.9, 1.6.9-doc [A.] #110 crypton-x509-system 1.6.7, 1.6.7-doc [A.] #111 crypton-x509-validation 1.6.12, 1.6.12-doc [A.] #112 cryptonite 0.30, 0.30-doc [A.] #113 cryptonite-conduit 0.2.2, 0.2.2-doc [A.] #114 css-text 0.1.3.0, 0.1.3.0-doc [A.] #115 data-default 0.7.1.1, 0.7.1.1-doc [A.] #116 data-default-class 0.1.2.0, 0.1.2.0-doc [A.] #117 data-default-instances-containers 0.0.1, 0.0.1-doc [A.] #118 data-default-instances-dlist 0.0.1, 0.0.1-doc [A.] #119 data-default-instances-old-locale 0.0.1, 0.0.1-doc [A.] #120 data-fix 0.3.3, 0.3.3-doc [A.] #121 disk-free-space 0.1.0.1, 0.1.0.1-doc [A.] #122 distributive 0.6.2.1, 0.6.2.1-doc [A.] #123 dlist 1.0, 1.0-doc [A.] #124 doctest 0.22.2, 0.22.2-doc [A.] #125 easy-file 0.2.5, 0.2.5-doc [A.] #126 edit-distance 0.2.2.1, 0.2.2.1-doc [A.] #127 email-validate 2.3.2.20, 2.3.2.20-doc [A.] #128 entropy 0.4.1.10, 0.4.1.10-doc [A.] #129 erf 2.0.0.0, 2.0.0.0-doc [A.] #130 expand-response-params [A.] #131 extensible-exceptions 0.1.1.4, 0.1.1.4-doc [A.] #132 extra 1.7.16, 1.7.16-doc [A.] #133 fast-logger 3.2.2, 3.2.2-doc [A.] #134 feed 1.3.2.1, 1.3.2.1-data, 1.3.2.1-doc [A.] #135 file 5.45, 5.45-dev [A.] #136 file-embed 0.0.16.0, 0.0.16.0-doc [A.] #137 filepath-bytestring 1.4.2.1.13, 1.4.2.1.13-doc [A.] #138 foldl 1.4.16, 1.4.16-doc [A.] #139 foundation 0.0.30, 0.0.30-doc [A.] #140 free 5.2, 5.2-doc [A.] #141 fsnotify 0.4.1.0, 0.4.1.0-doc [A.] #142 generic-deriving 1.14.5, 1.14.5-doc [A.] #143 generically 0.1.1, 0.1.1-doc [A.] #144 ghc 9.6.5, 9.6.5-doc [A.] #145 ghc-paths 0.1.0.12, 0.1.0.12-doc [A.] #146 git-annex 10.20240430 [A.] #147 hashable 1.4.4.0, 1.4.4.0-doc [A.] #148 haskell-lexer 1.1.1, 1.1.1-doc [A.] #149 haskell-src-exts 1.23.1, 1.23.1-doc [A.] #150 hedgehog 1.4, 1.4-doc [A.] #151 hfsevents 0.1.7, 0.1.7-doc [A.] #152 hjsmin 0.2.1, 0.2.1-doc [A.] #153 hostname 1.0, 1.0-doc [A.] #154 hourglass 0.2.12, 0.2.12-doc [A.] #155 hspec 2.11.8, 2.11.8-doc [A.] #156 hspec-core 2.11.8, 2.11.8-doc [A.] #157 hspec-discover 2.11.8, 2.11.8-doc [A.] #158 hspec-expectations 0.8.4, 0.8.4-doc [A.] #159 hspec-meta 2.11.8, 2.11.8-doc [A.] #160 html-conduit 1.3.2.2, 1.3.2.2-doc [A.] #161 http-api-data 0.5.1, 0.5.1-doc [A.] #162 http-client 0.7.17, 0.7.17-doc [A.] #163 http-client-restricted 0.1.0, 0.1.0-doc [A.] #164 http-client-tls 0.3.6.3, 0.3.6.3-doc [A.] #165 http-conduit 2.3.8.3, 2.3.8.3-doc [A.] #166 http-date 0.0.11, 0.0.11-doc [A.] #167 http-types 0.12.4, 0.12.4-doc [A.] #168 http2 5.0.1, 5.0.1-doc [A.] #169 indexed-traversable 0.1.3, 0.1.3-doc [A.] #170 indexed-traversable-instances 0.1.1.2, 0.1.1.2-doc [A.] #171 inspection-testing 0.5.0.3, 0.5.0.3-doc [A.] #172 integer-conversion 0.1.0.1, 0.1.0.1-doc [A.] #173 integer-logarithms 1.0.3.1, 1.0.3.1-doc [A.] #174 invariant 0.6.3, 0.6.3-doc [A.] #175 iproute 1.7.12, 1.7.12-doc [A.] #176 kan-extensions 5.2.6, 5.2.6-doc [A.] #177 language-javascript 0.7.1.0, 0.7.1.0-doc [A.] #178 lens 5.2.3, 5.2.3-doc [A.] #179 libSystem 11.0.0 [A.] #180 libtapi 1100.0.11 [A.] #181 libyaml 0.1.4, 0.1.4-doc [A.] #182 libyaml-clib 0.2.5 [A.] #183 lift-type 0.1.1.1, 0.1.1.1-doc [A.] #184 lifted-async 0.10.2.5, 0.10.2.5-doc [A.] #185 lifted-base 0.2.3.12, 0.2.3.12-doc [A.] #186 lld 16.0.6 [A.] #187 llvm-binutils 16.0.6 [A.] #188 logging-facade 0.3.1, 0.3.1-doc [A.] #189 logict 0.8.1.0, 0.8.1.0-doc [A.] #190 lsof 4.99.3 [A.] #191 magic 1.1, 1.1-doc [A.] #192 memory 0.18.0, 0.18.0-doc [A.] #193 microlens 0.4.13.1, 0.4.13.1-doc [A.] #194 microlens-mtl 0.2.0.3, 0.2.0.3-doc [A.] #195 microlens-th 0.4.3.15, 0.4.3.15-doc [A.] #196 mime-types 0.1.2.0, 0.1.2.0-doc [A.] #197 mmorph 1.2.0, 1.2.0-doc [A.] #198 mockery 0.3.5, 0.3.5-doc [A.] #199 monad-control 1.0.3.1, 1.0.3.1-doc [A.] #200 monad-logger 0.3.40, 0.3.40-doc [A.] #201 monad-loops 0.4.3, 0.4.3-doc [A.] #202 monad-parallel 0.8, 0.8-doc [A.] #203 mono-traversable 1.0.17.0, 1.0.17.0-doc [A.] #204 mountpoints 1.0.2, 1.0.2-doc [A.] #205 mtl-compat 0.2.2 [A.] #206 nanospec 0.2.2, 0.2.2-doc [A.] #207 network 3.1.4.0, 3.1.4.0-doc [A.] #208 network-bsd 2.8.1.0, 2.8.1.0-doc [A.] #209 network-byte-order 0.1.7, 0.1.7-doc [A.] #210 network-control 0.0.2, 0.0.2-doc [A.] #211 network-info 0.2.1, 0.2.1-doc [A.] #212 network-multicast 0.3.2, 0.3.2-doc [A.] #213 network-run 0.2.8, 0.2.8-doc [A.] #214 network-uri 2.6.4.2, 2.6.4.2-doc [A.] #215 nothunks 0.1.5, 0.1.5-doc [A.] #216 old-locale 1.0.0.7, 1.0.0.7-doc [A.] #217 old-time 1.1.0.4, 1.1.0.4-doc [A.] #218 optparse-applicative 0.18.1.0, 0.18.1.0-doc [A.] #219 os-string 2.0.2.2, 2.0.2.2-doc [A.] #220 parallel 3.2.2.0, 3.2.2.0-doc [A.] #221 path-pieces 0.2.1, 0.2.1-doc [A.] #222 pcre 8.45, 8.45-bin, 8.45-dev [A.] #223 pcre-light 0.4.1.2, 0.4.1.2-doc [A.] #224 pem 0.2.4, 0.2.4-doc [A.] #225 persistent 2.14.6.1, 2.14.6.1-doc [A.] #226 persistent-sqlite 2.13.3.0, 2.13.3.0-doc [A.] #227 persistent-template 2.12.0.0 [A.] #228 post-link-sign-hook [A.] #229 pretty-hex 1.1, 1.1-doc [A.] #230 pretty-show 1.10, 1.10-data, 1.10-doc [A.] #231 prettyprinter 1.7.1, 1.7.1-doc [A.] #232 prettyprinter-ansi-terminal 1.1.3, 1.1.3-doc [A.] #233 prettyprinter-compat-ansi-wl-pprint 1.0.2, 1.0.2-doc [A.] #234 primitive 0.8.0.0, 0.8.0.0-doc [A.] #235 primitive-addr 0.1.0.3, 0.1.0.3-doc [A.] #236 profunctors 5.6.2, 5.6.2-doc [A.] #237 psqueues 0.2.8.0, 0.2.8.0-doc [A.] #238 pureMD5 2.1.4, 2.1.4-doc [A.] #239 quickcheck-classes 0.6.5.0, 0.6.5.0-doc [A.] #240 quickcheck-classes-base 0.6.2.0, 0.6.2.0-doc [A.] #241 quickcheck-instances 0.3.30, 0.3.30-doc [A.] #242 quickcheck-io 0.2.0, 0.2.0-doc [A.] #243 quickcheck-unicode 1.0.1.0, 1.0.1.0-doc [A.] #244 random 1.2.1.2, 1.2.1.2-doc [A.] #245 raw-strings-qq 1.1, 1.1-doc [A.] #246 recv 0.1.0, 0.1.0-doc [A.] #247 reflection 2.1.8, 2.1.8-doc [A.] #248 regex-base 0.94.0.2, 0.94.0.2-doc [A.] #249 regex-posix 0.96.0.1, 0.96.0.1-doc [A.] #250 regex-tdfa 1.3.2.2, 1.3.2.2-doc [A.] #251 resource-pool 0.4.0.0, 0.4.0.0-doc [A.] #252 resourcet 1.3.0, 1.3.0-doc [A.] #253 retry 0.9.3.1, 0.9.3.1-doc [A.] #254 rio 0.1.22.0, 0.1.22.0-doc [A.] #255 safe 0.3.21, 0.3.21-doc [A.] #256 safe-exceptions 0.1.7.4, 0.1.7.4-doc [A.] #257 sandi 0.5, 0.5-doc [A.] #258 scientific 0.3.7.0, 0.3.7.0-doc [A.] #259 securemem 0.1.10, 0.1.10-doc [A.] #260 semialign 1.3, 1.3-doc [A.] #261 semigroupoids 6.0.1, 6.0.1-doc [A.] #262 semigroups 0.20, 0.20-doc [A.] #263 semirings 0.6, 0.6-doc [A.] #264 setenv 0.1.1.3, 0.1.1.3-doc [A.] #265 shakespeare 2.1.0.1, 2.1.0.1-doc [A.] #266 signing-utils [A.] #267 sigtool 0.1.3 [A.] #268 silently 1.2.5.3, 1.2.5.3-doc [A.] #269 simple-reflect 0.3.3, 0.3.3-doc [A.] #270 simple-sendfile 0.2.32, 0.2.32-doc [A.] #271 skein 1.0.9.4, 1.0.9.4-doc [A.] #272 smallcheck 1.2.1.1, 1.2.1.1-doc [A.] #273 socks 0.6.1, 0.6.1-doc [A.] #274 split 0.2.5, 0.2.5-doc [A.] #275 splitmix 0.1.0.5, 0.1.0.5-doc [A.] #276 stm-chans 3.0.0.9, 3.0.0.9-doc [A.] #277 streaming-commons 0.2.2.6, 0.2.2.6-doc [A.] #278 strict 0.5, 0.5-doc [A.] #279 stringbuilder 0.5.1, 0.5.1-doc [A.] #280 syb 0.7.2.4, 0.7.2.4-doc [A.] #281 tagged 0.8.8, 0.8.8-doc [A.] #282 tagsoup 0.14.8, 0.14.8-doc [A.] #283 tasty 1.4.3, 1.4.3-doc [A.] #284 tasty-golden 2.3.5, 2.3.5-doc [A.] #285 tasty-hedgehog 1.4.0.2, 1.4.0.2-doc [A.] #286 tasty-hunit 0.10.1, 0.10.1-doc [A.] #287 tasty-inspection-testing 0.2.1, 0.2.1-doc [A.] #288 tasty-kat 0.0.3, 0.0.3-doc [A.] #289 tasty-quickcheck 0.10.2, 0.10.2-doc [A.] #290 tasty-rerun 1.1.19, 1.1.19-doc [A.] #291 tasty-smallcheck 0.8.2, 0.8.2-doc [A.] #292 tasty-th 0.1.7, 0.1.7-doc [A.] #293 temporary 1.3, 1.3-doc [A.] #294 terminal-size 0.3.4, 0.3.4-doc [A.] #295 test-framework 0.8.2.0, 0.8.2.0-doc [A.] #296 test-framework-hunit 0.3.0.2, 0.3.0.2-doc [A.] #297 test-framework-quickcheck2 0.3.0.5, 0.3.0.5-doc [A.] #298 text-short 0.1.6, 0.1.6-doc [A.] #299 tf-random 0.5, 0.5-doc [A.] #300 th-abstraction 0.5.0.0, 0.5.0.0-doc [A.] #301 th-compat 0.1.5, 0.1.5-doc [A.] #302 th-lift 0.8.4, 0.8.4-doc [A.] #303 th-lift-instances 0.1.20, 0.1.20-doc [A.] #304 these 1.2, 1.2-doc [A.] #305 time-compat 1.9.6.1, 1.9.6.1-doc [A.] #306 time-locale-compat 0.1.1.5, 0.1.1.5-doc [A.] #307 time-manager 0.0.1, 0.0.1-doc [A.] #308 tls 1.8.0, 1.8.0-doc [A.] #309 tls-session-manager 0.0.4, 0.0.4-doc [A.] #310 torrent 10000.1.3, 10000.1.3-doc [A.] #311 transformers-base 0.4.6, 0.4.6-doc [A.] #312 transformers-compat 0.7.2, 0.7.2-doc [A.] #313 typed-process 0.2.11.1, 0.2.11.1-doc [A.] #314 unbounded-delays 0.1.1.1, 0.1.1.1-doc [A.] #315 unix-compat 0.7.1, 0.7.1-doc [A.] #316 unix-time 0.4.12, 0.4.12-doc [A.] #317 unliftio 0.2.25.0, 0.2.25.0-doc [A.] #318 unliftio-core 0.2.1.0, 0.2.1.0-doc [A.] #319 unordered-containers 0.2.20, 0.2.20-doc [A.] #320 utf8-light 0.4.4.0, 0.4.4.0-doc [A.] #321 utf8-string 1.0.2, 1.0.2-doc [A.] #322 uuid 1.3.15, 1.3.15-doc [A.] #323 uuid-types 1.0.5.1, 1.0.5.1-doc [A.] #324 vault 0.3.1.5, 0.3.1.5-doc [A.] #325 vector 0.13.1.0, 0.13.1.0-doc [A.] #326 vector-algorithms 0.9.0.1, 0.9.0.1-doc [A.] #327 vector-stream 0.1.0.1, 0.1.0.1-doc [A.] #328 void 0.7.3, 0.7.3-doc [A.] #329 wai 3.2.4, 3.2.4-doc [A.] #330 wai-app-static 3.1.9, 3.1.9-doc [A.] #331 wai-extra 3.1.14, 3.1.14-doc [A.] #332 wai-logger 2.4.0, 2.4.0-doc [A.] #333 warp 3.3.31, 3.3.31-doc [A.] #334 warp-tls 3.4.5, 3.4.5-doc [A.] #335 witherable 0.4.2, 0.4.2-doc [A.] #336 wl-pprint-annotated 0.1.0.1, 0.1.0.1-doc [A.] #337 word8 0.1.3, 0.1.3-doc [A.] #338 x509 1.7.7, 1.7.7-doc [A.] #339 xml 1.3.14, 1.3.14-doc [A.] #340 xml-conduit 1.9.1.3, 1.9.1.3-doc [A.] #341 xml-hamlet 0.5.0.2, 0.5.0.2-doc [A.] #342 xml-types 0.3.8, 0.3.8-doc [A.] #343 xss-sanitize 0.3.7.2, 0.3.7.2-doc [A.] #344 yaml 0.11.11.2, 0.11.11.2-doc [A.] #345 yesod 1.6.2.1, 1.6.2.1-doc [A.] #346 yesod-core 1.6.25.1, 1.6.25.1-doc [A.] #347 yesod-form 1.7.6, 1.7.6-doc [A.] #348 yesod-persistent 1.6.0.8, 1.6.0.8-doc [A.] #349 yesod-static 1.6.1.0, 1.6.1.0-doc [A.] #350 yesod-test 1.6.16, 1.6.16-doc Closure size: 267 -> 937 (676 paths added, 6 paths removed, delta +670, disk usage +5.2GiB). ```

Steps To Reproduce

Steps to reproduce the behavior:

  1. ...
  2. ...
  3. ...

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.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.5.0, macOS 14.5`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.21.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Add a :+1: reaction to issues you find important.

Atemu commented 3 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

Atemu commented 3 months ago

(@eclairevoyant I'm not sure this is related to darwin in any way.)

maralorn commented 3 months ago

Compare https://github.com/NixOS/nixpkgs/issues/318013

Atemu commented 3 months ago

If it's indeed GHC causing the majority of that closure size increase, this reads like a duplicate.

eclairevoyant commented 3 months ago

(@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.