<autogenerated-issue> self-test errors, nix not found #83

Open
opened 2026-05-17 20:49:20 +00:00 by tunnels-end · 0 comments

Hi,

I expect the following is simply a piece of dumbassery on my end. I have ended up installing and uninstalling a few times after running into the issue described in #80, so I only have a fresh ... ish? install. The install script's output indicated everything was fine, I immediately thereafter ran /nix/nix-installer self-test, which gave the following and told me to post an issue here. When directly spinning up /bin/bash and /opt/homebrew/bin/bash they do recognize the nix command, I take it whatever bash process is throwing this error is not loading .bash_profile.

Also, I love the long bacon color scheme.

Error

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


Metadata

key value
version 3.95.0
os macos
arch aarch64

Backtrace

Backtrace:
   0: __mh_execute_header
   1: __mh_execute_header
   2: __mh_execute_header
   3: __mh_execute_header
   4: __mh_execute_header
   5: __mh_execute_header
   6: __mh_execute_header
   7: __mh_execute_header
   8: __mh_execute_header
   9: __mh_execute_header

Hi, I expect the following is simply a piece of dumbassery on my end. I have ended up installing and uninstalling a few times after running into the issue described in #80, so I only have a fresh ... ish? install. The install script's output indicated everything was fine, I immediately thereafter ran /nix/nix-installer self-test, which gave the following and told me to post an issue here. When directly spinning up /bin/bash and /opt/homebrew/bin/bash they do recognize the nix command, I take it whatever bash process is throwing this error is not loading .bash_profile. Also, I love the long bacon color scheme. ## Error ``` Error: 0: Self test error, install may be only partially functional Shell `bash` failed self-test with command `"bash" "-lc" "exec nix build --option substitute false --option post-build-hook '' --no-link --expr 'derivation { name = \"self-test-bash-1779050002511\"; system = \"aarch64-darwin\"; builder = \"/bin/sh\"; args = [\"-c\" \"echo hello > \\$out\"]; }'"`, stderr: bash: line 1: exec: nix: not found ``` ## Metadata |key|value| |--|--| |**version**|3.95.0| |**os**|macos| |**arch**|aarch64| ## Backtrace <details> ``` Backtrace: 0: __mh_execute_header 1: __mh_execute_header 2: __mh_execute_header 3: __mh_execute_header 4: __mh_execute_header 5: __mh_execute_header 6: __mh_execute_header 7: __mh_execute_header 8: __mh_execute_header 9: __mh_execute_header ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix-installer#83
No description provided.