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
nixos-rebuild pollutes current directory with "result" symlink #12665
Comments
Most probably a regression in #12324. I suspect it broke tests http://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents but I haven't verified that yet. |
cc @rickynils |
I look into it. @domenkozar Does the fact that symlinks are created break tests? |
Test breakage is not related to this but rather (just got fixed): a581f72 |
|
For cleanup purposes, this should be relatively safe -- though, probably run it once with echo instead of rm, just to be sure.
It will, of course, also delete any |
|
@abbradar @rickynils |
@goodwillcoding
How shall one prevent |
That's peculiar. It spell-checked the option... so --no-out exists as an alias for --no-output, but --no-output itself doesn't exist? |
It's another place in general where the Nix tooling just feels inconsistent... It looks like boot/switch were special cased to not drop the out link, rather than making it a proper flag to |
@wucke13 why are you asking me the same question I posed in this issue ... did your read the comments at all? |
@goodwillcoding because I wrongly read your comment as an already working solution, not a suggestion how it should work. |
This is still around AFAIK. Just got a "result" symlink in my home directory. |
@NonVideri with which subcommand? |
@eclairevoyant Hard to tell, but probably |
If you are able to reproduce on an up-to-date nix install then please create a new issue for it. Also keep in mind the build and build-vm subcommands will create the symlink and that is expcted. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
nixos-rebuild boot
creates a symlink likein the current directory. The NixOS version is 16.03pre75806.77f8f35 (current
unstable
channel).The text was updated successfully, but these errors were encountered: