about summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-02-17 08:19:40 -0500
committerShea Levy <shea@shealevy.com>2013-02-17 08:19:40 -0500
commitc42d77aa35c50035304d8c3d3dc9c19981059eab (patch)
tree890403812f124812d134cafe59ef6ada188f2bb8 /pkgs/applications/audio
parent1eca5325ebbe2cbe275d8fb277cfc7a9a7a1e860 (diff)
parent9885d040331a9f01fdda4df0ac76e73868667790 (diff)
downloadnixlib-c42d77aa35c50035304d8c3d3dc9c19981059eab.tar
nixlib-c42d77aa35c50035304d8c3d3dc9c19981059eab.tar.gz
nixlib-c42d77aa35c50035304d8c3d3dc9c19981059eab.tar.bz2
nixlib-c42d77aa35c50035304d8c3d3dc9c19981059eab.tar.lz
nixlib-c42d77aa35c50035304d8c3d3dc9c19981059eab.tar.xz
nixlib-c42d77aa35c50035304d8c3d3dc9c19981059eab.tar.zst
nixlib-c42d77aa35c50035304d8c3d3dc9c19981059eab.zip
Merge remote-tracking branch 'upstream/master' into stdenv-updates
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/hydrogen/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/audio/hydrogen/default.nix b/pkgs/applications/audio/hydrogen/default.nix
index 6b994c7d9ae6..bb10f24b90a2 100644
--- a/pkgs/applications/audio/hydrogen/default.nix
+++ b/pkgs/applications/audio/hydrogen/default.nix
@@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
   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
-    '';
+    sed "s#pkg_ver.rstrip().split('.')#pkg_ver.rstrip().split('.')[:3]#" -i Sconstruct
+  '';
 
   # why doesn't scons find librdf?
   buildPhase = ''