Reduce dependency footprint
ghcup lib deps
1 filepath-1.4.2.1
1 haskus-utils-types-1.5.1
1 safe-0.3.19
1 split-0.2.3.4
1 strict-base-0.4.0.0
1 transformers-0.5.6.2
1 word8-0.1.3
2 base16-bytestring-1.0.1.0
2 casing-0.1.4.1
2 cryptohash-sha256-0.11.102.0
2 deepseq-1.4.5.0
2 disk-free-space-0.1.0.1
2 libarchive-3.0.2.2:*
2 lzma-static-5.2.5.4
2 mtl-2.2.2
2 pretty-terminal-0.1.0.0
2 time-1.9.3
2 unix-bytestring-0.3.7.3
2 unliftio-core-0.2.0.1
2 utf8-string-1.0.2
2 zlib-0.6.2.3
3 async-2.2.3
3 base-4.15.0.0
3 bz2-1.0.1.0
3 containers-0.6.4.1
3 pretty-1.1.3.6
3 unix-2.7.2.2
3 unordered-containers-0.2.14.0
4 binary-0.8.8.0
4 bytestring-0.10.12.1
4 directory-1.3.6.1
4 hpath-posix-0.13.3
4 optics-vl-0.2.1
4 parsec-3.1.14.0
4 safe-exceptions-0.1.7.2
4 template-haskell-2.17.0.0
4 vector-0.12.3.0
5 case-insensitive-1.2.1.0
5 generics-sop-0.5.1.1
5 process-1.6.11.0
5 regex-posix-0.96.0.1
6 os-release-1.0.2
6 versions-5.0.0
7 extra-1.7.9
7 haskus-utils-variant-3.1
7 resourcet-1.2.4.3
7 temporary-1.3
7 uri-bytestring-0.3.3.1
8 optics-0.4
8 text-1.2.4.1
9 string-interpolate-0.3.1.1
10 megaparsec-9.0.1
11 concurrent-output-1.10.12
17 yaml-0.11.5.0
19 monad-logger-0.3.36
22 zip-1.7.1
23 aeson-1.5.6.0
23 vty-5.33
ghcup exe deps
1 filepath-1.4.2.1
1 safe-0.3.19
1 transformers-0.5.6.2
2 deepseq-1.4.5.0
2 libarchive-3.0.2.2:*
2 mtl-2.2.2
2 pretty-terminal-0.1.0.0
2 utf8-string-1.0.2
3 async-2.2.3
3 base-4.15.0.0
3 containers-0.6.4.1
3 pretty-1.1.3.6
4 bytestring-0.10.12.1
4 safe-exceptions-0.1.7.2
4 template-haskell-2.17.0.0
4 vector-0.12.3.0
5 optparse-applicative-0.16.1.0
6 versions-5.0.0
7 haskus-utils-variant-3.1
7 resourcet-1.2.4.3
7 uri-bytestring-0.3.3.1
8 text-1.2.4.1
9 string-interpolate-0.3.1.1
10 megaparsec-9.0.1
17 yaml-0.11.5.0
19 monad-logger-0.3.36
23 brick-0.63
23 vty-5.33
58 ghcup-0.1.16.2
Both zip and monad-logger pull in conduit foo, which we really don't need and it could save some deps. For zip, maybe:
- https://hackage.haskell.org/package/LibZip-1.0.1 and https://hackage.haskell.org/package/bindings-libzip (will need to bundle sources for the latter)
- for monad-logger maybe https://hackage.haskell.org/package/hslogger or https://hackage.haskell.org/package/fast-logger
- string-interpolate was also suggested for removal
Edited by Julian Ospald