mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
ulauncher: patchShebangs and do not double wrap
This commit is contained in:
parent
a2c2a38f70
commit
7df8ba4012
@ -77,6 +77,9 @@ python3Packages.buildPythonApplication rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py --subst-var out
|
substituteInPlace setup.py --subst-var out
|
||||||
|
patchShebangs bin/ulauncher-toggle
|
||||||
|
substituteInPlace bin/ulauncher-toggle \
|
||||||
|
--replace wmctrl ${wmctrl}/bin/wmctrl
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# https://github.com/Ulauncher/Ulauncher/issues/390
|
# https://github.com/Ulauncher/Ulauncher/issues/390
|
||||||
@ -99,8 +102,10 @@ python3Packages.buildPythonApplication rec {
|
|||||||
runHook postCheck
|
runHook postCheck
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# do not double wrap
|
||||||
|
dontWrapGApps = true;
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ wmctrl ]}")
|
makeWrapperArgs+=("''${gappsWrapperArgs[@]}" --prefix PATH : "${lib.makeBinPath [ wmctrl ]}")
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
|
Loading…
Reference in New Issue
Block a user