about summary refs log tree commit diff
path: root/pkgs/development/tools/mysql-shell/innovation.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/mysql-shell/innovation.nix')
-rw-r--r--pkgs/development/tools/mysql-shell/innovation.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/tools/mysql-shell/innovation.nix b/pkgs/development/tools/mysql-shell/innovation.nix
index 32fd0746360f..14ff96542c46 100644
--- a/pkgs/development/tools/mysql-shell/innovation.nix
+++ b/pkgs/development/tools/mysql-shell/innovation.nix
@@ -72,8 +72,8 @@ stdenv.mkDerivation (finalAttrs: {
   '';
 
   nativeBuildInputs = [ pkg-config cmake git bison makeWrapper ]
-    ++ lib.optionals (!stdenv.isDarwin) [ rpcsvc-proto ]
-    ++ lib.optionals stdenv.isDarwin [ cctools DarwinTools ];
+    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ rpcsvc-proto ]
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ cctools DarwinTools ];
 
   buildInputs = [
     curl
@@ -95,8 +95,8 @@ stdenv.mkDerivation (finalAttrs: {
     python3
     antlr.runtime.cpp
   ] ++ pythonDeps
-  ++ lib.optionals stdenv.isLinux [ libtirpc ]
-  ++ lib.optionals stdenv.isDarwin [ CoreServices ];
+  ++ lib.optionals stdenv.hostPlatform.isLinux [ libtirpc ]
+  ++ lib.optionals stdenv.hostPlatform.isDarwin [ CoreServices ];
 
   preConfigure = ''
     # Build MySQL