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
nix-build: --add-root ignored #1982
Comments
Same thing with |
Is there any kind of workaround for this? Is it possible to create a GC root manually? (I’m running into this issue in the context of commercialhaskell/stack#4673. I have to run |
@bdesham yes, You have multiple ways available for creating GC roots:
|
I just wasted like an hour trying to figure out what I was doing wrong. Turns out |
lol, @jakubgs. I guess the thousands of hours that other people spent on the project don't count in the balance. |
How did you read that from my comment? |
I marked this as stale due to inactivity. → More info |
This is still a problem. |
I marked this as stale due to inactivity. → More info |
No. |
I was trying to create a gcroot for my nix-shell configuration, and the problem is that I know that |
For me, |
What I did:
nix-build '<nixpkgs>' -A hello --add-root test
Expected behaviour: test symlink to exist afterwards, or perhaps an error message complaining that
--add-root
is not a recognised option, or pointing me to-o
Actual behaviour: result symlink, no test symlink, no error message
The text was updated successfully, but these errors were encountered: