Skip to content

Commit

Permalink
mpir: Build with C++ support
Browse files Browse the repository at this point in the history
This is needed by Alkimia which I'm going to package soon as part of
KMyMoney.

I enabled this by default, because it doesn't increase the closure size
a whole lot (only around 150 KiB):

$ nix-store -q --size /nix/store/...old...-mpir-3.0.0
1223248
$ nix-store -q --size /nix/store/...new...-mpir-3.0.0
1377136

Introducing an option for enabling/disabling this is not worth it,
because it doesn't conflict with anything and the size increase is the
only drawback and we can still make it configurable if we want someday.

Signed-off-by: aszlig <aszlig@nix.build>
Cc: @7c6f434c
  • Loading branch information
aszlig committed Apr 28, 2018
1 parent 5621e1a commit 6134887
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/libraries/mpir/default.nix
Expand Up @@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj";
};

configureFlags = [ "--enable-cxx" ];

meta = {
inherit version;
description = ''A highly optimised library for bignum arithmetic forked from GMP'';
Expand Down

0 comments on commit 6134887

Please sign in to comment.