summary refs log tree commit diff
path: root/pkgs/tools/X11
diff options
context:
space:
mode:
authorMartino Fontana <tinozzo123@tutanota.com>2022-08-08 18:35:28 +0200
committerMartino Fontana <tinozzo123@tutanota.com>2022-08-08 21:37:14 +0200
commit8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7 (patch)
tree33af1c63f4359c1a4a625b207071ca0e6d093a98 /pkgs/tools/X11
parent6efa5c77edd931f53f4f68768ec54bbe596c8492 (diff)
downloadnixpkgs-8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7.tar
nixpkgs-8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7.tar.gz
nixpkgs-8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7.tar.bz2
nixpkgs-8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7.tar.lz
nixpkgs-8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7.tar.xz
nixpkgs-8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7.tar.zst
nixpkgs-8edb7f27c3730d41f4c3cbcb47ef3e76c23d89b7.zip
caffeine-ng: don't double wrap
Diffstat (limited to 'pkgs/tools/X11')
-rw-r--r--pkgs/tools/X11/caffeine-ng/default.nix6
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 619bd55b6f4..5aab492c75e 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; {