#12384·nix

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

Author: cmykCreated Jan 30, 2025Updated Sep 26, 2026
Labelsinstaller

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 :+1: to issues you find important.