Merge pull request #38437 from jluttine/fix-k3b-libpath
k3b: fix build inputs and library/binary paths
This commit is contained in:
commit
d6ce4855b3
@ -16,7 +16,7 @@ mkDerivation {
|
|||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
|
||||||
propagatedBuildInputs = [
|
buildInputs = [
|
||||||
# qt
|
# qt
|
||||||
qtwebkit
|
qtwebkit
|
||||||
# kde
|
# kde
|
||||||
@ -32,11 +32,17 @@ mkDerivation {
|
|||||||
];
|
];
|
||||||
propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
|
propagatedUserEnvPkgs = [ (lib.getBin kinit) ];
|
||||||
postFixup =
|
postFixup =
|
||||||
let k3bPath = lib.makeBinPath [
|
let
|
||||||
|
binPath = lib.makeBinPath [
|
||||||
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
|
cdrdao cdrtools dvdplusrwtools libburn normalize sox transcode
|
||||||
vcdimager
|
vcdimager flac
|
||||||
|
];
|
||||||
|
libraryPath = lib.makeLibraryPath [
|
||||||
|
cdparanoia
|
||||||
];
|
];
|
||||||
in ''
|
in ''
|
||||||
wrapProgram "$out/bin/k3b" --prefix PATH : "${k3bPath}"
|
wrapProgram "$out/bin/k3b" \
|
||||||
|
--prefix PATH : "${binPath}" \
|
||||||
|
--prefix LD_LIBRARY_PATH : ${libraryPath}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user