-
Notifications
You must be signed in to change notification settings - Fork 842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stack build gives InvalidAbsDir #2614
Comments
Not sure what we should do about this. I think this general issue affects everything that uses the functions like @chrisdone Maybe we should put |
It's true that fundamentally a user's input is incomplete and we need IO to fill in the gaps. Ideally we'd resolve the user input into a normalised absolute directory, via resolveDir' from path-io. I don't know whether optparse-applicative is capable of running as a monad transformer like Web formlets, that would allow us to do the resolving before it gets into our configuration types. What type would this be? |
I'm not sure, how about |
Any updates on this? |
Is there any progress on that issue? Still happening with 1.4.0. Note: Won't using something like that function fix the issue easily? |
Fixed in HEAD - see #2830 |
I just updated to stack 1.2.0
and my
stack build
is failing with the following error:option --extra-lib-dirs: InvalidAbsDir "/home/me/XX/YY/../ZZ/UU/VV/WW"
The command I'm running is
stack build --extra-lib-dirs="$lib"
where
$lib
is the path mentioned above.Note: The same command ran successfully before the update.
Edit: Seems like it's failing because of the
..
, since given the same path without it works perfectly fine.The text was updated successfully, but these errors were encountered: