about summary refs log tree commit diff
path: root/pkgs/development/libraries/libiodbc/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libiodbc/default.nix')
-rw-r--r--pkgs/development/libraries/libiodbc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libiodbc/default.nix b/pkgs/development/libraries/libiodbc/default.nix
index 6d6d7d46576d..c059d619ccae 100644
--- a/pkgs/development/libraries/libiodbc/default.nix
+++ b/pkgs/development/libraries/libiodbc/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ pkg-config ];
   buildInputs = lib.optionals useGTK [ gtk2 ]
-                ++ lib.optional stdenv.isDarwin Carbon;
+                ++ lib.optional stdenv.hostPlatform.isDarwin Carbon;
 
   preBuild =
     ''