diff options
author | Artturin <Artturin@artturin.com> | 2021-12-25 22:42:03 +0200 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2021-12-25 22:42:03 +0200 |
commit | c77ee40389c6f1f9e06a2e7228b0ffc5057e8427 (patch) | |
tree | 06a148e570addebbcce6504ba5bf56fc758a97de /pkgs/applications/misc/redshift/default.nix | |
parent | bf6c88eba29055e384859ae551f88cedf5d26033 (diff) | |
download | nixpkgs-c77ee40389c6f1f9e06a2e7228b0ffc5057e8427.tar nixpkgs-c77ee40389c6f1f9e06a2e7228b0ffc5057e8427.tar.gz nixpkgs-c77ee40389c6f1f9e06a2e7228b0ffc5057e8427.tar.bz2 nixpkgs-c77ee40389c6f1f9e06a2e7228b0ffc5057e8427.tar.lz nixpkgs-c77ee40389c6f1f9e06a2e7228b0ffc5057e8427.tar.xz nixpkgs-c77ee40389c6f1f9e06a2e7228b0ffc5057e8427.tar.zst nixpkgs-c77ee40389c6f1f9e06a2e7228b0ffc5057e8427.zip |
{redshift,gammastep}: do not double wrap
the app id will be wrong if double wrapped
Diffstat (limited to 'pkgs/applications/misc/redshift/default.nix')
-rw-r--r-- | pkgs/applications/misc/redshift/default.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix index 5798473db5e..6bf3b32aa87 100644 --- a/pkgs/applications/misc/redshift/default.nix +++ b/pkgs/applications/misc/redshift/default.nix @@ -64,7 +64,16 @@ let preConfigure = "./bootstrap"; - postFixup = "wrapPythonPrograms"; + dontWrapGApps = true; + + preFixup = '' + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") + ''; + + postFixup = '' + wrapPythonPrograms + wrapGApp $out/bin/${pname} + ''; # the geoclue agent may inspect these paths and expect them to be # valid without having the correct $PATH set |