1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00

ltl2ba: fix build on darwin

This commit is contained in:
Vincent Laporte 2016-03-03 08:24:00 +01:00
parent dfbf0b27a4
commit c2a2c2ecd4

View file

@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "16z0gc7a9dkarwn0l6rvg5jdhw1q4qyn4501zlchy0zxqddz0sx6";
};
preConfigure = ''
substituteInPlace Makefile \
--replace "CC=gcc" ""
'';
installPhase = ''
mkdir -p $out/bin
mv ltl2ba $out/bin
@ -18,7 +23,7 @@ stdenv.mkDerivation rec {
description = "fast translation from LTL formulae to Buchi automata";
homepage = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
};
}