git.iko.soy/typeable/nixpkgs
on master help sign in
souffle: fix on darwin

Fixes #39854

commite973188bcc9f35dbd12f00c0ef5dd9240da1d9d3 authorMatthew Bauer <mjbauer95@gmail.com> dateMon 7 May 2018, 00:16 (9 years ago) parentabea0c6
1 file changed+7−8
pkgs/development/compilers/souffle/default.nix+7−8
pkgs/development/compilers/souffle/default.nix+7−8
@@ -1,4 +1,7 @@
1−{ stdenv, fetchFromGitHub, autoconf, automake, boost, bison, flex, openjdk, doxygen, perl, graphviz, libtool, lsb-release, ncurses, zlib, sqlite }:
1+{ stdenv, fetchFromGitHub
2+, boost, bison, flex, openjdk, doxygen
3+, perl, graphviz, libtool, ncurses, zlib, sqlite
4+, autoreconfHook }:
25
36stdenv.mkDerivation rec {
47 version = "1.2.0";
@@ -11,12 +14,10 @@ stdenv.mkDerivation rec {
1114 sha256 = "1g8yvm40h102mab8lacpl1cwgqsw1js0s1yn4l84l9fjdvlh2ygd";
1215 };
1316
17+ nativeBuildInputs = [ autoreconfHook bison flex ];
18+
1419 buildInputs = [
15− autoconf automake boost bison flex openjdk
16− # Used for 1.2.0
17− libtool lsb-release ncurses zlib sqlite
18− # Used for docs
19− doxygen perl graphviz
20+ boost openjdk ncurses zlib sqlite doxygen perl graphviz
2021 ];
2122
2223 patchPhase = ''
@@ -29,8 +30,6 @@ stdenv.mkDerivation rec {
2930 # for boost and failing there, so we tell it what's what here.
3031 configureFlags = [ "--with-boost-libdir=${boost}/lib" ];
3132
32− preConfigure = "./bootstrap";
33−
3433 meta = with stdenv.lib; {
3534 description = "A translator of declarative Datalog programs into the C++ language";
3635 homepage = "http://souffle-lang.github.io/";