about summary refs log tree commit diff
path: root/pkgs/development/compilers/vala/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/vala/default.nix')
-rw-r--r--pkgs/development/compilers/vala/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/vala/default.nix b/pkgs/development/compilers/vala/default.nix
index 1b880b61a05a..96b995d64b6c 100644
--- a/pkgs/development/compilers/vala/default.nix
+++ b/pkgs/development/compilers/vala/default.nix
@@ -50,7 +50,7 @@ let
 
     nativeBuildInputs = [
       pkg-config flex bison libxslt gobject-introspection
-    ] ++ lib.optional (stdenv.isDarwin) expat
+    ] ++ lib.optional (stdenv.hostPlatform.isDarwin) expat
       ++ lib.optional disableGraphviz autoreconfHook # if we changed our ./configure script, need to reconfigure
       ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ vala ]
       ++ extraNativeBuildInputs;