diff options
author | Martino Fontana <tinozzo123@tutanota.com> | 2022-08-08 18:35:28 +0200 |
---|---|---|
committer | Martino Fontana <tinozzo123@tutanota.com> | 2022-08-08 21:37:14 +0200 |
commit | 8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7 (patch) | |
tree | 33af1c63f4359c1a4a625b207071ca0e6d093a98 | |
parent | 6efa5c77edd931f53f4f68768ec54bbe596c8492 (diff) |
caffeine-ng: don't double wrap
-rw-r--r-- | pkgs/tools/X11/caffeine-ng/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/tools/X11/caffeine-ng/default.nix b/pkgs/tools/X11/caffeine-ng/default.nix index 619bd55b6f45..5aab492c75e8 100644 --- a/pkgs/tools/X11/caffeine-ng/default.nix +++ b/pkgs/tools/X11/caffeine-ng/default.nix @@ -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; { |