cabal install
does not accept relative dirs in --store-dir
(but cabal build
does)
#7812
Labels
can-workaround
There is a (maybe partial) workaround for the issue or missing feature
re: store-dir
On local nix store (option `--store-dir`)
type: enhancement
Milestone
Installation aborts in the middle when a relative path is passed to
--store-dir
:In contrast.
succeeds.
Would a simple fix be to turn the
--store-dir
into an absolute path just after parsing this command line argument?This issue came up before, see #7130 (comment); in #7130 (comment) @phadej invites PRs. A systematic fix has been started in #6667 but is unfinished.
UPDATE: looks like I duplicated #7760.
The text was updated successfully, but these errors were encountered: