From 93deff3962a9c9d29ac448a0e2133e898876edce Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Tue, 11 May 2021 11:09:25 -0400 Subject: [PATCH] mpir: fix darwin --- pkgs/development/libraries/mpir/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/mpir/default.nix b/pkgs/development/libraries/mpir/default.nix index 5e68ad80fc2e..36505b4a6670 100644 --- a/pkgs/development/libraries/mpir/default.nix +++ b/pkgs/development/libraries/mpir/default.nix @@ -11,7 +11,8 @@ stdenv.mkDerivation rec { sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj"; }; - configureFlags = [ "--enable-cxx" "--enable-fat" ]; + configureFlags = [ "--enable-cxx" ] + ++ lib.optionals stdenv.isLinux [ "--enable-fat" ]; meta = { inherit version;