tpwrules / nixos-apple-silicon

Resources to install NixOS bare metal on Apple Silicon Macs
MIT License
742 stars 73 forks source link

build failure Kernel and Bootstrap Installer #187

Closed kavfkah closed 2 months ago

kavfkah commented 2 months ago

hey, I was just follow the installation instructions and m1n1 and u-boot build fine, but the Kernel and Bootstrap Installer failed doing: nix build --extra-experimental-features 'nix-command flakes' .#installer-bootstrap -o installer -j4 -L

with this log: https://pastebin.com/veZ4Qmf4

is there anything I can do to fix this?

larstiq commented 2 months ago

The logs mentions e.g.

./scripts/ocsp-stapling-with-ca-as-responder.test: line 188: nc: command not found

and

./scripts/ping.test: line 25: ping: command not found

so perhaps start by fixing all such not found commands?

kavfkah commented 2 months ago

ah okay I just had to add toybox in iso-configuration/installer-configuration.nix and now it's working