about summary refs log tree commit diff
path: root/pkgs/tools/text/teip/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/teip/default.nix')
-rw-r--r--pkgs/tools/text/teip/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/teip/default.nix b/pkgs/tools/text/teip/default.nix
index 90a41a8cf38d4..ab140f2a578c3 100644
--- a/pkgs/tools/text/teip/default.nix
+++ b/pkgs/tools/text/teip/default.nix
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage rec {
 
   # tests are locale sensitive
   preCheck = ''
-    export LANG=${if stdenv.isDarwin then "en_US.UTF-8" else "C.UTF-8"}
+    export LANG=${if stdenv.hostPlatform.isDarwin then "en_US.UTF-8" else "C.UTF-8"}
   '';
 
   postInstall = ''