aboutsummaryrefslogtreecommitdiff
path: root/pkgs/applications/audio/hydrogen
diff options
context:
space:
mode:
authorCillian de Roiste <cillian.deroiste@gmail.com>2012-04-01 12:41:01 +0000
committerCillian de Roiste <cillian.deroiste@gmail.com>2012-04-01 12:41:01 +0000
commitf5a502b7146964246bd61482ec1a2ffd0b8304bc (patch)
treef22da78bcfb30636f0109ef97b099d5846ebd08d /pkgs/applications/audio/hydrogen
parent1a38734345f5ba461021fcf876eee9b68b804063 (diff)
Fixing the path to the ladspa effects plugins
svn path=/nixpkgs/trunk/; revision=33516
Diffstat (limited to 'pkgs/applications/audio/hydrogen')
-rw-r--r--pkgs/applications/audio/hydrogen/default.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/applications/audio/hydrogen/default.nix b/pkgs/applications/audio/hydrogen/default.nix
index 765f5559914e..6b994c7d9ae6 100644
--- a/pkgs/applications/audio/hydrogen/default.nix
+++ b/pkgs/applications/audio/hydrogen/default.nix
@@ -1,6 +1,5 @@
-{ stdenv, fetchurl,
- alsaLib, boost, glib, jackaudio, libarchive, liblrdf, libsndfile,
- pkgconfig, qt4, scons, subversion }:
+{ stdenv, fetchurl, alsaLib, boost, glib, jackaudio, ladspaPlugins
+, libarchive, liblrdf , libsndfile, pkgconfig, qt4, scons, subversion }:
stdenv.mkDerivation rec {
version = "0.9.5";
@@ -12,12 +11,17 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- alsaLib boost glib jackaudio libarchive liblrdf libsndfile
- pkgconfig qt4 scons subversion
+ alsaLib boost glib jackaudio ladspaPlugins libarchive liblrdf
+ libsndfile pkgconfig qt4 scons subversion
];
patches = [ ./scons-env.patch ];
+ postPatch = ''
+ sed -e 's#/usr/lib/ladspa#${ladspaPlugins}/lib/ladspa#' -i libs/hydrogen/src/preferences.cpp
+ sed '/\/usr/d' -i libs/hydrogen/src/preferences.cpp
+ '';
+
# why doesn't scons find librdf?
buildPhase = ''
scons prefix=$out libarchive=1 lrdf=0 install