-
Notifications
You must be signed in to change notification settings - Fork 16
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-tree no longer works by default, does not contain a 'flake.nix', searching up #106
Comments
Oh - I had no idea, thanks for reporting! Yeah, likely the behavior of Nix has changed at some point - as I don't think there was a change on |
Looked at this a bit - but I can't reproduce it on my system as I don't have a For reference, here's the part where Lines 109 to 117 in 1c7f4c5
So - could you tell me what does your |
(I also asked this to NixOS Matrix channel as likely I only have today to work on it) |
My
I'm using flake based NixOS, but I never used profile. |
@sg-qwt Thanks! So I was wrong with my flake hypothesis then. When you say it's a directory, is it a plain directory, or a symlink to something under |
plain directory |
Ok - so the assumption on #71 was broken then. I'll continue from there. |
I am curious how By the way, do you have anything else under Does Is |
~/.local/state/nix is plain directory
~/.local/state/nix/profiles/profile does NOT exist
|
Ah, home manager is doing weird things. Okay. Well, I guess checking that a path is a symlink (as I've suggested in #71 (comment)) should help. Maybe we should even add |
I guess this is caused by the newer nix version?
nix-tree /var/run/current-system
still worksSo I have to use
nix run 'nixpkgs#nix-tree' -- /var/run/current-system
instead now.Somewhere between the version, the default behavior changed so now I have to pass in current-system explicitly nowadays?
The text was updated successfully, but these errors were encountered: