about summary refs log tree commit diff
path: root/pkgs/development/libraries/libcommuni/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libcommuni/default.nix')
-rw-r--r--pkgs/development/libraries/libcommuni/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libcommuni/default.nix b/pkgs/development/libraries/libcommuni/default.nix
index c33fdcf00f33..93aec103bca0 100644
--- a/pkgs/development/libraries/libcommuni/default.nix
+++ b/pkgs/development/libraries/libcommuni/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
   dontUseQmakeConfigure = true;
   configureFlags = [ "-config" "release" ]
     # Build mixes up dylibs/frameworks if one is not explicitly specified.
-    ++ lib.optionals stdenv.isDarwin [ "-config" "qt_framework" ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-config" "qt_framework" ];
 
   dontWrapQtApps = true;