haskell.nix
haskell.nix copied to clipboard
How to exclude the `doc` output of ghc from being pulled in?
GHC docs can be pretty hefty and I'd like to exclude it from my closure.
$ du /nix/store/0j54xxdj3ani5hsarjwmra55jqkmcmqd-ghc-9.2.2-doc -d 0 -h
662M /nix/store/0j54xxdj3ani5hsarjwmra55jqkmcmqd-ghc-9.2.2-doc
Is there a recommended approach to excluding the doc
output from ghc in a project?