haskell.nix icon indicating copy to clipboard operation
haskell.nix copied to clipboard

How to exclude the `doc` output of ghc from being pulled in?

Open rehno-lindeque opened this issue 2 years ago • 0 comments

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?

rehno-lindeque avatar Aug 09 '22 18:08 rehno-lindeque