commit 38a0c041f4a176810b33f7559a759a1c2f96fc4d
parent b4f88de7833767692412af68072064cf5dbdbbb0
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";