3
0
Fork 0
forked from mirrors/nixpkgs

fastnlo_toolkit: fix on darwin

This commit is contained in:
Dmitry Kalinkin 2021-11-08 14:02:29 -05:00
parent 3119a60230
commit 7e2a123acb
No known key found for this signature in database
GPG key ID: 5157B3EC8B2CA333

View file

@ -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"
}; };
} }