about summary refs log tree commit diff
path: root/pkgs/applications/audio/cantata/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/cantata/default.nix')
-rw-r--r--pkgs/applications/audio/cantata/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/audio/cantata/default.nix b/pkgs/applications/audio/cantata/default.nix
index 2d399ba44da3..6906c7bccb5e 100644
--- a/pkgs/applications/audio/cantata/default.nix
+++ b/pkgs/applications/audio/cantata/default.nix
@@ -93,6 +93,11 @@ stdenv.mkDerivation rec {
     "-DENABLE_UDISKS2=ON"
   ];
 
+  # This is already fixed upstream but not released yet. Maybe in version 2.
+  preConfigure = ''
+    sed -i -e 's/STRLESS/VERSION_LESS/g' cmake/FindTaglib.cmake
+  '';
+
   postInstall = stdenv.lib.optionalString withQt5 ''
     wrapQtProgram "$out/bin/cantata"
   '';