From 1edf6e8f329ea4345f2e00337352eda92750c949 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Sun, 27 Sep 2026 07:09:47 +0200 Subject: [PATCH] treefmt.withConfig: replace `stdenv` with `stdenvNoCC` --- pkgs/by-name/tr/treefmt/check-wrapper.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/tr/treefmt/check-wrapper.nix b/pkgs/by-name/tr/treefmt/check-wrapper.nix index a7f16e0bdf90..151a99904714 100644 --- a/pkgs/by-name/tr/treefmt/check-wrapper.nix +++ b/pkgs/by-name/tr/treefmt/check-wrapper.nix @@ -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"; }