diff --git a/pkgs/kde/gear/k3b/default.nix b/pkgs/kde/gear/k3b/default.nix index 9eba27da8639..ba4a1fc6aab4 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"; }