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

Determinate Installer Errors on Install Nix #332

Open
Hygens opened this issue Apr 17, 2024 · 0 comments
Open

Determinate Installer Errors on Install Nix #332

Hygens opened this issue Apr 17, 2024 · 0 comments

Comments

@Hygens
Copy link

Hygens commented Apr 17, 2024

I'm attempting install Nix via Determinate installer on MacOSX Sonoma 14.4.1 Intel i9, but get:

 Planned actions:
* Create an APFS volume `Nix Store` for Nix on `disk1` and add it to `/etc/fstab` mounting on `/nix`
* Fetch `https://releases.nixos.org/nix/nix-2.20.5/nix-2.20.5-x86_64-darwin.tar.xz` to `/nix/temp-install-dir`
* Create a directory tree in `/nix`
* Move the downloaded Nix into `/nix`
* Create build users (UID 301-332) and group (GID 30000)
* Configure Time Machine exclusions
* Setup the default Nix profile
* Place the Nix configuration in `/etc/nix/nix.conf`
* Configure the shell profiles
* Configuring zsh to support using Nix in non-interactive shells
* Create a `launchctl` plist to put Nix into your PATH
* Configure Nix daemon related settings with launchctl
* Remove directory `/nix/temp-install-dir`


Proceed? ([Y]es/[n]o/[e]xplain): y
 INFO Step: Create an APFS volume `Nix Store` for Nix on `disk1` and add it to `/etc/fstab` mounting on `/nix`
 INFO Step: Provision Nix
 INFO Step: Create build users (UID 301-332) and group (GID 30000)
 INFO Step: Configure Time Machine exclusions
 INFO Step: Configure Nix
 INFO Step: Configuring zsh to support using Nix in non-interactive shells
 INFO Step: Create a `launchctl` plist to put Nix into your PATH
 INFO Step: Configure Nix daemon related settings with launchctl
 INFO Step: Remove directory `/nix/temp-install-dir`
 WARN SelfTest([ShellFailed { shell: Zsh, command: "\"zsh\" \"-ic\" \"nix build --no-link --expr 
 \\'derivation { name = \\\"self-test-zsh-1713357973153\\\"; system = \\\"x86_64-darwin\\\"; 
 builder = \\\"/bin/sh\\\"; args = [\\\"-c\\\" \\\"echo hello > \\\\$out\\\"]; }\\'\"", 
 output: Output { status: ExitStatus(unix_wait_status(32512)), stdout: "", stderr: 
 "zsh:1: command not found: nix\n" } }])
Nix was installed successfully!
To get started using Nix, open a new shell or run 
`. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`

Too nix not work with "command not found".

My workaround was include that on my home profile:
export PATH="$PATH:/nix/var/nix/profiles/default/bin"

Please i need help to correct that problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant