git.iko.soy/typeable/nixpkgs
on master help sign in
ltl2ba: fix build on darwin
commitc2a2c2ecd4055d4c47204e64c7e45d5f15060750 authorVincent Laporte <Vincent.Laporte@gmail.com> dateThu 3 Mar 2016, 08:24 (11 years ago) parentdfbf0b2
1 file changed+6−1
pkgs/applications/science/logic/ltl2ba/default.nix+6−1
pkgs/applications/science/logic/ltl2ba/default.nix+6−1
@@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
99 sha256 = "16z0gc7a9dkarwn0l6rvg5jdhw1q4qyn4501zlchy0zxqddz0sx6";
1010 };
1111
12+ preConfigure = ''
13+ substituteInPlace Makefile \
14+ --replace "CC=gcc" ""
15+ '';
16+
1217 installPhase = ''
1318 mkdir -p $out/bin
1419 mv ltl2ba $out/bin
@@ -18,7 +23,7 @@ stdenv.mkDerivation rec {
1823 description = "fast translation from LTL formulae to Buchi automata";
1924 homepage = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba";
2025 license = stdenv.lib.licenses.gpl2Plus;
21− platforms = stdenv.lib.platforms.linux;
26+ platforms = stdenv.lib.platforms.darwin ++ stdenv.lib.platforms.linux;
2227 maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
2328 };
2429}