diff options
author | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2018-04-04 19:09:57 +0300 |
---|---|---|
committer | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2018-04-04 21:37:16 +0300 |
commit | ccbf3c89550342fba1ebac9d4d3cdfb161bf207b (patch) | |
tree | 5a85ac4e385781515cd6cc9b5f59d84d2b5d31ef /pkgs/applications/kde/k3b.nix | |
parent | 56fb68dcef494b7cdb3e09362d67836b8137019c (diff) |
k3b: fix build inputs, library path and binary path
Fix #38325
Diffstat (limited to 'pkgs/applications/kde/k3b.nix')
-rw-r--r-- | pkgs/applications/kde/k3b.nix | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/pkgs/applications/kde/k3b.nix b/pkgs/applications/kde/k3b.nix index 89bc171d29537..9b16485cfa770 100644 --- a/pkgs/applications/kde/k3b.nix +++ b/pkgs/applications/kde/k3b.nix @@ -16,7 +16,7 @@ mkDerivation { platforms = platforms.linux; }; nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ]; - propagatedBuildInputs = [ + buildInputs = [ # qt qtwebkit # kde @@ -32,11 +32,17 @@ mkDerivation { ]; propagatedUserEnvPkgs = [ (lib.getBin kinit) ]; postFixup = - let k3bPath = lib.makeBinPath [ - cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode - vcdimager - ]; + let + binPath = lib.makeBinPath [ + cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode + vcdimager flac + ]; + libraryPath = lib.makeLibraryPath [ + cdparanoia + ]; in '' - wrapProgram "$out/bin/k3b" --prefix PATH : "${k3bPath}" + wrapProgram "$out/bin/k3b" \ + --prefix PATH : "${binPath}" \ + --prefix LD_LIBRARY_PATH : ${libraryPath} ''; } |