persepolis: fix qt wrapping
This commit is contained in:
parent
f2df7ccaab
commit
35f530f9e8
@ -8,6 +8,7 @@
|
||||
, setproctitle
|
||||
, setuptools
|
||||
, sound-theme-freedesktop
|
||||
, wrapQtAppsHook
|
||||
, youtube-dl
|
||||
}:
|
||||
|
||||
@ -37,10 +38,17 @@ buildPythonApplication rec {
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/applications
|
||||
cp $src/xdg/com.github.persepolisdm.persepolis.desktop $out/share/applications
|
||||
wrapProgram $out/bin/persepolis --prefix PATH : "${lib.makeBinPath [aria libnotify ]}"
|
||||
'';
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
# prevent double wrapping
|
||||
dontWrapQtApps = true;
|
||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
||||
|
||||
# feed args to wrapPythonApp
|
||||
makeWrapperArgs = [
|
||||
"--prefix PATH : ${lib.makeBinPath [aria libnotify ]}"
|
||||
''''${qtWrapperArgs[@]}''
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pulseaudio
|
||||
|
@ -2150,7 +2150,9 @@ in
|
||||
|
||||
pbzx = callPackage ../tools/compression/pbzx { };
|
||||
|
||||
persepolis = python3Packages.callPackage ../tools/networking/persepolis { };
|
||||
persepolis = python3Packages.callPackage ../tools/networking/persepolis {
|
||||
wrapQtAppsHook = qt5.wrapQtAppsHook;
|
||||
};
|
||||
|
||||
pev = callPackage ../development/tools/analysis/pev { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user