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

Shell zsh failed self-test #1343

Open
sbh opened this issue Dec 9, 2024 · 1 comment
Open

Shell zsh failed self-test #1343

sbh opened this issue Dec 9, 2024 · 1 comment
Labels
MacOS Darwin/MacOS

Comments

@sbh
Copy link

sbh commented Dec 9, 2024

Error

Error: 
   0: Self test error, install may be only partially functional
   0: Shell `zsh` failed self-test with command `"zsh" "-ic" "nix build --option substitute false --no-link --expr \'derivation { name = \"self-test-zsh-1733755871028\"; system = \"aarch64-darwin\"; builder = \"/bin/sh\"; args = [\"-c\" \"echo hello > \\$out\"]; }\'"`, stderr:
      zsh:1: command not found: nix


Metadata

key value
version 0.32.0
os macos
arch aarch64
@cole-h
Copy link
Member

cole-h commented Dec 9, 2024

If you open a new terminal window and attempt to run a command like nix store info, does that work? If so, you can ignore this error.

If not, however, that means that something somewhere in your zsh configuration is messing with your environment / $PATH. Maybe this is enough of a hint for you to go spelunking, but if not, feel free to reply and we'll see what we can do!

@cole-h cole-h changed the title <autogenerated-issue> Shell zsh failed self-test Dec 9, 2024
@cole-h cole-h added the MacOS Darwin/MacOS label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MacOS Darwin/MacOS
Projects
None yet
Development

No branches or pull requests

2 participants