about summary refs log tree commit diff
path: root/pkgs/development/libraries/mpir/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/mpir/default.nix')
-rw-r--r--pkgs/development/libraries/mpir/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mpir/default.nix b/pkgs/development/libraries/mpir/default.nix
index 26f22fd9968f..9857317ea188 100644
--- a/pkgs/development/libraries/mpir/default.nix
+++ b/pkgs/development/libraries/mpir/default.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
   ];
 
   configureFlags = [ "--enable-cxx" ]
-    ++ lib.optionals stdenv.isLinux [ "--enable-fat" ];
+    ++ lib.optionals stdenv.hostPlatform.isLinux [ "--enable-fat" ];
 
   meta = {
     description = "Highly optimised library for bignum arithmetic forked from GMP";