Skip to content

[Bug]: Bootstrap script fails on Intel Macs due to Determinate installer #20

Description

@johnhubbs

What happened?

Running bootstrap.sh on an Intel Mac (x86_64-darwin) fails during Step 1: Determinate Nix before the flake is ever evaluated.

The bootstrap script attempts to install Nix using the Determinate installer:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix
| sh -s -- install --no-confirm

The installer fails with a 404 while attempting to download an installer for x86_64-darwin, preventing the bootstrap process from continuing.

Replacing the Determinate installer with the upstream Nix installer allowed the bootstrap process to proceed.

What did you expect to happen?

I expected bootstrap.sh to complete successfully on a supported Intel Mac, or for the repository documentation to indicate that Intel Macs are no longer supported if that is the intended behavior.

Reproduction steps

  1. Clone the repository on an Intel Mac (x86_64-darwin).
  2. Ensure Nix is not already installed.
  3. Run ./bootstrap.sh.
  4. The bootstrap process fails during Step 1: Determinate Nix before darwin-rebuild is reached.

Environment

macOS

Nix or home-manager generation

N/A — the failure occurs before Nix is installed and before any nix-darwin or Home Manager generation is created.

Relevant logs or output

Note: Even after replacing the Determinate installer with the upstream Nix installer, the bootstrap still requires macOS 14.0 or newer. Older macOS releases are not sufficient.

Environment: nix-darwin bootstrap

==> Step 1: Determinate Nix
info: downloading the Determinate Nix Installer
warn: curl (22): The requested URL returned error: 404
error: installer for platform 'x86_64-darwin' not found, this may be unsupported

A workaround is to replace the Determinate installer in bootstrap.sh with the upstream Nix installer:

sh <(curl -L https://nixos.org/nix/install) --daemon

After that change, the bootstrap process continues normally on macOS 14.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions