about summary refs log tree commit diff
path: root/pkgs/development/libraries/db/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/db/generic.nix')
-rw-r--r--pkgs/development/libraries/db/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/db/generic.nix b/pkgs/development/libraries/db/generic.nix
index d715c1ffc8b1..936aed633a44 100644
--- a/pkgs/development/libraries/db/generic.nix
+++ b/pkgs/development/libraries/db/generic.nix
@@ -67,7 +67,7 @@ stdenv.mkDerivation (rec {
       (if compat185 then "--enable-compat185" else "--disable-compat185")
     ]
     ++ lib.optional dbmSupport "--enable-dbm"
-    ++ lib.optional stdenv.isFreeBSD "--with-pic";
+    ++ lib.optional stdenv.hostPlatform.isFreeBSD "--with-pic";
 
   preConfigure = ''
     cd build_unix