diff options
author | William A. Kennington III <william@wkennington.com> | 2015-09-03 10:52:30 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-09-03 10:52:30 -0700 |
commit | 14e715a55da0d4f62651c0401ecc7933e062c5f9 (patch) | |
tree | c2eb7851534fb31aa3ccb9d46862a405f7d4d6af | |
parent | ffd9e6a6ae57666420b94edf47d7f55450c0e955 (diff) |
lvtk: Boost 1.59 compat
-rw-r--r-- | pkgs/development/libraries/audio/lvtk/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/libraries/audio/lvtk/default.nix b/pkgs/development/libraries/audio/lvtk/default.nix index 6e2b9a31b3040..401743ac517fa 100644 --- a/pkgs/development/libraries/audio/lvtk/default.nix +++ b/pkgs/development/libraries/audio/lvtk/default.nix @@ -9,10 +9,18 @@ stdenv.mkDerivation rec { sha256 = "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"; }; - buildInputs = [ boost gtkmm lv2 pkgconfig python ]; + nativeBuildInputs = [ pkgconfig python ]; + buildInputs = [ boost gtkmm lv2 ]; + + # Fix including the boost libraries during linking + postPatch = '' + sed -i '/target[ ]*= "ttl2c"/ ilib=["boost_system"],' tools/wscript_build + ''; configurePhase = '' - python waf configure --prefix=$out --boost-includes="${boost.dev}/include" + python waf configure --prefix=$out \ + --boost-includes="${boost.dev}/include" \ + --boost-libs="${boost.lib}/lib" ''; buildPhase = "python waf"; |