-
Notifications
You must be signed in to change notification settings - Fork 717
Open
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: discussion
Description
WIP: I've created this ticket so I don't forget to flesh it out with a few possible approaches
The basic idea/problem: we could easily have compiled nix-store packages made relocatable (and they're nicely self-contained in "$prefix/store/$compiler/$libname"), if Paths_$pkgname.hs
would allow us to have a single variable for overriding the "$prefix/store" base-folder (strawman: "$CABAL_STORE_PATH"), rather than hardwirding the $prefix
into each compiled artifact (to keep this simple, I'm going to ignore DSO-related path-relocability-issues).
TODO: describe minimal/specific variant, as well as a more general variant involving general var-name template interpolation scheme.
phadej, thomasjm, elldritch and Dretch
Metadata
Metadata
Assignees
Labels
cabal-install: v2-build systemAffecting v2-build and related commands that use v2-architecture (aka "nix local builds").Affecting v2-build and related commands that use v2-architecture (aka "nix local builds").type: discussion