mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
ledger3: Get building on darwin
svn path=/nixpkgs/trunk/; revision=31351
This commit is contained in:
parent
b884e56aa2
commit
d788929c64
|
@ -18,6 +18,10 @@ stdenv.mkDerivation {
|
||||||
git texinfo
|
git texinfo
|
||||||
];
|
];
|
||||||
|
|
||||||
|
CPPFLAGS = "-I${gmp}/include -I${mpfr}/include";
|
||||||
|
|
||||||
|
LDFLAGS = "-L${gmp}/lib -L${mpfr}/lib";
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
sed -i acprep \
|
sed -i acprep \
|
||||||
-e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|'
|
-e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|'
|
||||||
|
@ -25,7 +29,7 @@ stdenv.mkDerivation {
|
||||||
python acprep update --no-pch --prefix=$out
|
python acprep update --no-pch --prefix=$out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
@ -41,7 +45,7 @@ stdenv.mkDerivation {
|
||||||
their data, there really is no alternative.
|
their data, there really is no alternative.
|
||||||
'';
|
'';
|
||||||
|
|
||||||
platforms = stdenv.lib.platforms.linux;
|
platforms = stdenv.lib.platforms.all;
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue