about summary refs log tree commit diff
path: root/pkgs/development/compilers/idris2/tests.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/idris2/tests.nix')
-rw-r--r--pkgs/development/compilers/idris2/tests.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/idris2/tests.nix b/pkgs/development/compilers/idris2/tests.nix
index bb5cd140c90c..b4193286d49c 100644
--- a/pkgs/development/compilers/idris2/tests.nix
+++ b/pkgs/development/compilers/idris2/tests.nix
@@ -28,7 +28,7 @@ let
         # is not the case with pure nix environments. Thus, we need to include zsh
         # when we build for darwin in tests. While this is impure, this is also what
         # we find in real darwin hosts.
-        nativeBuildInputs = lib.optionals stdenv.isDarwin [ zsh ];
+        nativeBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ zsh ];
       }
       ''
         set -eo pipefail