ark: wrap with paths to wrapper programs

This commit is contained in:
Thomas Tuegel 2015-10-27 11:46:44 -05:00
parent 0992bb64b9
commit f817b8ab94

View File

@ -14,8 +14,17 @@
, kpty
, kwidgetsaddons
, libarchive
, p7zip
, unrar
, unzipNLS
, zip
}:
let PATH = lib.makeSearchPath "bin" [
p7zip unrar unzipNLS zip
];
in
kdeApp {
name = "ark";
nativeBuildInputs = [
@ -38,6 +47,10 @@ kdeApp {
ki18n
kio
];
postInstall = ''
wrapQtProgram "$out/bin/ark" \
--prefix PATH : "${PATH}"
'';
meta = {
license = with lib.licenses; [ gpl2 lgpl3 ];
maintainers = [ lib.maintainers.ttuegel ];