forked from mirrors/nixpkgs
fastnlo_toolkit: fix on darwin
This commit is contained in:
parent
3119a60230
commit
7e2a123acb
|
@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace ./fastnlotoolkit/Makefile.in \
|
substituteInPlace ./fastnlotoolkit/Makefile.in \
|
||||||
--replace "-fext-numeric-literals" ""
|
--replace "-fext-numeric-literals" ""
|
||||||
|
|
||||||
|
# disable test that fails due to strict floating-point number comparison
|
||||||
|
echo "#!/usr/bin/env perl" > check/fnlo-tk-stattest.pl.in
|
||||||
|
chmod +x check/fnlo-tk-stattest.pl.in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
@ -88,6 +92,5 @@ stdenv.mkDerivation rec {
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = with maintainers; [ veprbl ];
|
maintainers = with maintainers; [ veprbl ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
broken = stdenv.isAarch64; # failing test "fnlo-tk-stattest.pl"
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue