Merge pull request #185701 from SuperSamus/caffeine-ng

caffeine-ng: don't double wrap
This commit is contained in:
Sebastián Mancilla 2022-08-14 21:07:38 -04:00 committed by GitHub
commit adc6954528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {