You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, these flags had no affect on new-build.
Now, they let you specify where the dist-newstyle directory
should go.
Note that if a relative path is provided, it is resolved
relative to the *project root*. If this is undesirable,
pass an absolute path instead.
Fixeshaskell#4127.
Signed-off-by: Edward Z. Yang <[email protected]>
cabal new-build
doesn't seem to respect--builddir
, regardless of what I pass it still creates thedist-newstyle
directory.This is with HEAD (2146ea1).
As far as I can tell this is because
DestDirLayout
is constructed without considering any of the*DistPref
fields fromCliConfigFlags
.See
cabal/cabal-install/Distribution/Client/ProjectOrchestration.hs
Line 176 in 2502ea1
I wouldn't mind submitting a PR for this if anyone can point out a good way to do this since I'm still new to the new-build code.
The text was updated successfully, but these errors were encountered: