LnL7 / nix-darwin

nix modules for darwin
MIT License
3.21k stars 459 forks source link

Build failing after a nix flake update command, on Mac OS(intel): Sequoia 15.0.1 #1195

Open Halloway-93 opened 19 hours ago

Halloway-93 commented 19 hours ago

nix run --extra-experimental-features "nix-command flakes" nix-darwin -- switch --flake ~/.config/nix-darwin building the system configuration... error: builder for '/nix/store/fa3wcxf0z8ny1rw9j6dm5v9q9pvm266g-darwin-system-25.05.20241122.8edf06b+darwin4.3c52583.drv' failed with exit code 1; last 7 log lines:

In /nix/store/w8k3bpg96xawssqnq6b9mxlyngbm118m-darwin-system-25.05.20241122.8edf06b+darwin4.3c52583/activate line 80: while read src; do ^--^ SC2162 (info): read without -r will mangle backslashes.

For more information: https://www.shellcheck.net/wiki/SC2162 -- read without -r will mangle backs... For full logs, run 'nix-store -l /nix/store/fa3wcxf0z8ny1rw9j6dm5v9q9pvm266g-darwin-system-25.05.20241122.8edf06b+darwin4.3c52583.drv'.

Enzime commented 15 hours ago

Check if while read src is in your configs and change it to while read -r src