-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Describe the bug
Most nix commands are failing on a fresh multi-user install of nix on MacOS 15.2 with the following error:
error:
… while calling the 'import' builtin
at «string»:1:18:
1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (run) (hello) ]; } ""
| ^
… while realising the context of a path
… while calling the 'findFile' builtin
at «string»:1:25:
1| {...}@args: with import <nixpkgs> args; (pkgs.runCommandCC or pkgs.runCommand) "shell" { buildInputs = [ (run) (hello) ]; } ""
| ^
error: path '/nix/var/nix/profiles/per-user/root/channels' is a symlink
Steps To Reproduce
- Have a MacOS 15.2 installation
- Use the Nix multi-user installer as described on the NixOS Download page.
- Installer finishes successfully
- Try to run the example from the installer (or really any other command):
nix-shell -p nix-info --run "nix-info -m" - Get the above error :)
Expected behavior
Don't get the above error :)
Metadata
nix-env (Nix) 2.26.0
Additional context
Checklist
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.
mhpierre and alesti