Skip to content
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

[FAIL] Found profiles outside of /nix/var/nix/profiles #12384

Open
3 of 5 tasks
cmyk opened this issue Jan 30, 2025 · 0 comments
Open
3 of 5 tasks

[FAIL] Found profiles outside of /nix/var/nix/profiles #12384

cmyk opened this issue Jan 30, 2025 · 0 comments

Comments

@cmyk
Copy link

cmyk commented Jan 30, 2025

Platform

  • Linux: Ubuntu 24.04.1 LTS, QEMU Virtual Machine (on an M1)
  • macOS
  • WSL

Additional information

The installer made a symlink:

lrwxrwxrwx 1 cmyk cmyk 44 Jan 29 15:45 /home/cmyk/.nix-profile -> /home/cmyk/.local/state/nix/profiles/profile

After a fresh install of nix, I get this error when checking with nix config check:

Output

Output
cmyk@ubuntu:~$ nix config check 
[PASS] PATH contains only one nix version.
[FAIL] Found profiles outside of /nix/var/nix/profiles.
The generation this profile points to might not have a gcroot and could be
garbage collected, resulting in broken symlinks.

   "/home/cmyk/.nix-profile/bin"


[PASS] Client protocol matches store protocol.
[INFO] You are trusted by store uri: daemon

Checklist


Add 👍 to issues you find important.

@cmyk cmyk added the installer label Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant