about summary refs log tree commit diff
path: root/pkgs/kde/gear/k3b
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-03-28 11:58:43 +0300
committerK900 <me@0upti.me>2024-03-30 09:13:57 +0300
commitac648a7d2670046186c3ac9298bfeacd9f8e122a (patch)
treeae2cf52edfbd64f8025dd219e6bb40227e082b50 /pkgs/kde/gear/k3b
parente595323f370535903d3a4e5ca6c3f476f25165ac (diff)
kdePackages.k3b: add dynamically loaded dependencies, fix wrapper
Fixes #299248
Diffstat (limited to 'pkgs/kde/gear/k3b')
-rw-r--r--pkgs/kde/gear/k3b/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/kde/gear/k3b/default.nix b/pkgs/kde/gear/k3b/default.nix
index 9eba27da8639c..ba4a1fc6aab4c 100644
--- a/pkgs/kde/gear/k3b/default.nix
+++ b/pkgs/kde/gear/k3b/default.nix
@@ -13,8 +13,10 @@
   libsamplerate,
   cdrdao,
   cdrtools,
+  cdparanoia,
   dvdplusrwtools,
   libburn,
+  libdvdcss,
   normalize,
   sox,
   transcode,
@@ -38,7 +40,7 @@ mkKdeDerivation {
   ];
 
   qtWrapperArgs = [
-    "--prefix PATH ':' ${lib.makeBinPath [
+    "--prefix PATH : ${lib.makeBinPath [
       cdrdao
       cdrtools
       dvdplusrwtools
@@ -49,6 +51,10 @@ mkKdeDerivation {
       vcdimager
       flac
     ]}"
+
+    # FIXME: this should really be done with patchelf --add-rpath, but it breaks the binary somehow
+    "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ cdparanoia libdvdcss ]}"
   ];
+
   meta.mainProgram = "k3b";
 }