1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

rebuild: dixnix workaround

This commit is contained in:
RGBCube 2025-06-04 21:14:24 +03:00
parent 42d35c6d9a
commit 32876cc5bc
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M

View file

@ -56,7 +56,7 @@ def main --wrapped [
] | append ($args_split | get --ignore-errors 1 | default [])
if (uname | get kernel-name) == "Darwin" {
nh darwin switch . ...$nh_flags -- ...$nix_flags
NH_NO_CHECKS=1 nh darwin switch . ...$nh_flags -- ...$nix_flags
if not (xcode-select --install e>| str contains "Command line tools are already installed") {
darwin-shadow-xcode-popup
@ -64,7 +64,7 @@ def main --wrapped [
darwin-set-zshrc
} else {
nh os switch . ...$nh_flags -- ...$nix_flags
NH_NO_CHECKS=1 nh os switch . ...$nh_flags -- ...$nix_flags
}
}