ltl2ba: fix build on darwin
This commit is contained in:
parent
dfbf0b27a4
commit
c2a2c2ecd4
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue