From 9ea16e01a94e2db66994742d6c7516ef49c6faa4 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 31 Mar 2015 16:26:40 +0200 Subject: tomahawk: Link echonest includes to suffixed ones. Tomahawk expects the echonest library to have a "5" suffix in its include dir, so let's simply symlink it to the unsuffixed version. Signed-off-by: aszlig --- pkgs/tomahawk/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs/tomahawk/default.nix') diff --git a/pkgs/tomahawk/default.nix b/pkgs/tomahawk/default.nix index 69fa3a81..22aa624f 100644 --- a/pkgs/tomahawk/default.nix +++ b/pkgs/tomahawk/default.nix @@ -30,6 +30,9 @@ let qjson = null; }) (drv: { cmakeFlags = (drv.cmakeFlags or []) ++ [ "-DBUILD_WITH_QT4=OFF" ]; + postInstall = '' + ln -sv "$out/include/echonest" "$out/include/echonest5" + ''; }); qtkeychainQT5 = overrideDerivation (useQT5 qtkeychain) (drv: { @@ -62,7 +65,6 @@ in stdenv.mkDerivation rec { "-DQUAZIP_INCLUDE_DIR=${useQT5 quazip}/include" "-DQUAZIP_LIBRARIES=${useQT5 quazip}/lib" "-DLIBLASTFM_INCLUDE_DIR=${useQT5 liblastfm}/include" - "-DECHONEST_INCLUDE_DIR=${libechonestQT5}/include" ]; buildInputs = (map useQT5 [ liblastfm ]) ++ [ -- cgit 1.4.1