Merge pull request #185701 from SuperSamus/caffeine-ng
caffeine-ng: don't double wrap
This commit is contained in:
commit
adc6954528
1 changed files with 5 additions and 1 deletions
|
@ -45,7 +45,6 @@ in buildPythonApplication rec {
|
|||
buildInputs = [
|
||||
libappindicator-gtk3
|
||||
libnotify
|
||||
gobject-introspection
|
||||
gtk3
|
||||
];
|
||||
|
||||
|
@ -60,6 +59,8 @@ in buildPythonApplication rec {
|
|||
];
|
||||
|
||||
doCheck = false; # There are no tests.
|
||||
dontWrapGApps = true;
|
||||
strictDeps = false;
|
||||
|
||||
postInstall = ''
|
||||
cp -r share $out/
|
||||
|
@ -69,10 +70,13 @@ in buildPythonApplication rec {
|
|||
ln -s $out/${python3.sitePackages}/etc $out/etc
|
||||
|
||||
glib-compile-schemas --strict $out/share/glib-2.0/schemas
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix PATH : ${lib.makeBinPath [ procps xautolock xscreensaver xfce.xfconf xset ]}
|
||||
)
|
||||
makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue