mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 19:17:45 +00:00
rebuild: use nh for darwin
This commit is contained in:
parent
04ae22a62b
commit
5ebd45f852
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def main --wrapped [
|
||||||
] | append ($args_split | get --ignore-errors 1 | default [])
|
] | append ($args_split | get --ignore-errors 1 | default [])
|
||||||
|
|
||||||
if (uname | get kernel-name) == "Darwin" {
|
if (uname | get kernel-name) == "Darwin" {
|
||||||
darwin-rebuild switch --flake (".#" + $host) ...$nix_flags
|
nh darwin switch . ...$nh_flags -- ...$nix_flags
|
||||||
|
|
||||||
if not (xcode-select --install e>| str contains "Command line tools are already installed") {
|
if not (xcode-select --install e>| str contains "Command line tools are already installed") {
|
||||||
darwin-shadow-xcode-popup
|
darwin-shadow-xcode-popup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue