treefmt.withConfig: replace stdenv with stdenvNoCC

This commit is contained in:
Pol Dellaiera
2026-09-27 07:09:47 +02:00
parent af0a030d8c
commit 1edf6e8f32

View File

@@ -2,7 +2,7 @@
lib,
gitMinimal,
runCommandLocal,
stdenv,
stdenvNoCC,
wrapper,
}:
/**
@@ -21,8 +21,8 @@ runCommandLocal "${lib.getName wrapper}-check"
];
inherit project;
env = {
LANG = if stdenv.buildPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8";
LC_ALL = if stdenv.buildPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8";
LANG = if stdenvNoCC.buildPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8";
LC_ALL = if stdenvNoCC.buildPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8";
};
meta.description = "Check that the project tree is formatted";
}