diff options
Diffstat (limited to 'pkgs/applications/office/ledger/3.0.nix')
-rw-r--r-- | pkgs/applications/office/ledger/3.0.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/applications/office/ledger/3.0.nix b/pkgs/applications/office/ledger/3.0.nix index 6c3a469439535..0df148ce39077 100644 --- a/pkgs/applications/office/ledger/3.0.nix +++ b/pkgs/applications/office/ledger/3.0.nix @@ -18,6 +18,10 @@ stdenv.mkDerivation { git texinfo ]; + CPPFLAGS = "-I${gmp}/include -I${mpfr}/include"; + + LDFLAGS = "-L${gmp}/lib -L${mpfr}/lib"; + buildPhase = '' sed -i acprep \ -e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|' @@ -25,7 +29,9 @@ stdenv.mkDerivation { python acprep update --no-pch --prefix=$out ''; - doCheck = true; + doCheck = !stdenv.isDarwin; + + enableParallelBuilding = true; meta = { homepage = "http://ledger-cli.org/"; @@ -39,7 +45,7 @@ stdenv.mkDerivation { their data, there really is no alternative. ''; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.all; maintainers = [ stdenv.lib.maintainers.simons ]; }; } |