about summary refs log tree commit diff
path: root/pkgs/development/libraries/vsqlite/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/vsqlite/default.nix')
-rw-r--r--pkgs/development/libraries/vsqlite/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/vsqlite/default.nix b/pkgs/development/libraries/vsqlite/default.nix
index 6981de6aa074..029e4c617f46 100644
--- a/pkgs/development/libraries/vsqlite/default.nix
+++ b/pkgs/development/libraries/vsqlite/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
 
   buildInputs = [ boost sqlite ];
 
-  prePatch = lib.optionalString stdenv.isDarwin ''
+  prePatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
     substituteInPlace Makefile.in \
         --replace '-Wl,--as-needed' "" \
         --replace '-Wl,-soname -Wl,libvsqlitepp.so.3' \