-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
remove nix pure from shell environment #622
Conversation
Tried this out and
Hadn't noticed a segfault from |
just to be super clear - you used a new / fresh shell (clean ENV) before trying your tests? |
|
I do notice that the quality command has some additional single quotes in its command, whereas the others do not, might have something to do with it (because of the wrapper). |
Yep, this was in a clean environment. |
sorry for the "did you plug it in" question 🙈 I am a little stumped why this is happening sometimes.
yea, this is the stack wrapper script in entirety (from my machine):
I don't think the single quotes should cause an issue here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only quality
doesn't work for me, fix later? 🤷 I can run the quality command by doing .stack-wrapped test --nix --nix-shell-file=nix/stack-integration.nix --test-arguments='--color=always'
in nix develop
.
Also, I would've thought .stack-wrapped
would run stack with the additional flags defined the flake.nix file. But I guess it doesn't? Because if I leave the --nix
flag from the command above, it starts to download GHC.
Closing this in favour of #615 |
Using stack's nix integration with
--nix-pure
seems to be (sometimes?) creating segfaults in stack specifically on aarch64-darwin. This PR simply removes--nix-pure
from the stack wrapper.