about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2015-03-31 16:26:40 +0200
committeraszlig <aszlig@redmoonstudios.org>2015-03-31 16:26:40 +0200
commit9ea16e01a94e2db66994742d6c7516ef49c6faa4 (patch)
treeeddf989561646904509bb54d67ab7b1ebbd810d3 /pkgs
parentc768bac8ecfa3a151226203f79b53ab77ebb0850 (diff)
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 <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tomahawk/default.nix4
1 files changed, 3 insertions, 1 deletions
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 ]) ++ [