Skip to content

Add ability to install libraries bundled with ghc into separate prefixes

Currently, if I build an executable dynamically linked to 'base' and 'rts' with nix, I am forced to bring the ghc binary and, say, 'hoopl' along at runtime because these are all installed into the same prefix. Having options to indpendently specify output prefixes for each of the libraries would allow us to significantly decrease closure sizes.

Ben Gamari suggests this may be doable in the new Hadrian build.

Trac metadata
Trac field Value
Version
Type FeatureRequest
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information