commit 9f507265af2c7b35c5abeefba260fb000e39a9a9
parent cb0b276f586bc4908bb8657cebbe932ae7201e5f
Author: triesap <tyson@radroots.org>
Date: Fri, 13 Mar 2026 00:50:56 +0000
build: fix flake check repo and darwin evaluation
- initialize a git repo for the actionlint nix check so pure flake validation can discover workflow context
- remove the legacy darwin sdkroot export that now fails evaluation under current nixpkgs darwin aliases
- keep the change scoped to flake-check behavior without broadening into app metadata or workflow warnings
- verify with cargo check and cargo test for xtask plus git diff --check while dockerized nix eval remains slow in this environment
Diffstat:
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/nix/checks.nix b/nix/checks.nix
@@ -31,6 +31,7 @@ let
pkgs.actionlint
pkgs.shellcheck
];
+ initGit = true;
command = ''
actionlint
'';
diff --git a/nix/common.nix b/nix/common.nix
@@ -28,8 +28,6 @@ let
CARGO_TERM_COLOR = "always";
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
SODIUM_USE_PKG_CONFIG = "1";
- } // lib.optionalAttrs pkgs.stdenv.isDarwin {
- SDKROOT = "${pkgs.darwin.apple_sdk.sdk}";
};
coverageEnv = sharedEnv // {
RADROOTS_COVERAGE_CARGO = "${toolchains.coverage}/bin/cargo";