Repository navigation
Script extra deps - #4593
Merged
Merged
Script extra deps#4593
Conversation
Previously, any relative paths in a script's --resolver flag would be considered relative to the current working directory. It's more logical and consistent to have it relative to the directory the script lives in. This makes the change. Possible argument: it's a bit weird to put the resolver root into the GlobalOptsMonoid value. Overall it seems like the best option to me, but I'm open to other approaches.
Contributor
|
@snoyberg looks like this PR has broken test Should I file a separate issue about this? |
Contributor
Author
|
Please
…On Fri, Mar 29, 2019, 12:42 PM Kirill Zaborsky ***@***.***> wrote:
@snoyberg <https://github.com/snoyberg> looks like this PR has broken
test relative-script-snapshots I get the following from that test:
stderr:
Running: /home/qrilka/ws/h/stack-master/.stack-work/install/x86_64-linux-tinfo6/custom-snapshot-for-building-stack-with-ghc-8.2.2-RcJFh0uLBqbP/8.2.2/bin/stack subdir/script.hs
Assertion failed
CallStack (from HasCallStack):
assert, called at src/Stack/Script.hs:99:26 in stack-1.10.0-F7lLShWkN1REko63qsyy8q:Stack.Script
Main.hs: Exited with exit code: ExitFailure 1
Should I file a separate issue about this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4593 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADBB9xS4gXWMLk88j3rWmxOrT4AviHqks5vbd_pgaJpZM4bAhCu>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Builds on top of #4591, since otherwise we'd have significant merge conflicts.
Note: Documentation fixes for https://docs.haskellstack.org/en/stable/ should target the "stable" branch, not master.
Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!