about summary refs log tree commit diff
path: root/pkgs/development/libraries/expat/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/expat/default.nix')
-rw-r--r--pkgs/development/libraries/expat/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/expat/default.nix b/pkgs/development/libraries/expat/default.nix
index bb97ca8728e0..50ae45f38e9a 100644
--- a/pkgs/development/libraries/expat/default.nix
+++ b/pkgs/development/libraries/expat/default.nix
@@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: {
 
   enableParallelBuilding = true;
 
-  configureFlags = lib.optional stdenv.isFreeBSD "--with-pic";
+  configureFlags = lib.optional stdenv.hostPlatform.isFreeBSD "--with-pic";
 
   outputMan = "dev"; # tiny page for a dev tool