nixos-config/gcr-wrapgapps.patch
2022-04-07 18:50:58 +02:00

43 lines
1.0 KiB
Diff

commit d8d3deb8d91c01892f70e7e5ab7fdf182ab6d71d
Author: Gabriel Ebner <gebner@gebner.org>
Date: Sat Apr 2 12:59:35 2022 +0200
gcr: use wrapGAppsHook
The manual wrapProgram invocation missed binaries in libexec.
diff --git a/pkgs/development/libraries/gcr/default.nix b/pkgs/development/libraries/gcr/default.nix
index b277a52a658..6c1c3de08a2 100644
--- a/pkgs/development/libraries/gcr/default.nix
+++ b/pkgs/development/libraries/gcr/default.nix
@@ -16,7 +16,7 @@
, openssh
, systemd
, gobject-introspection
-, makeWrapper
+, wrapGAppsHook
, libxslt
, vala
, gnome
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
gettext
gobject-introspection
libxslt
- makeWrapper
+ wrapGAppsHook
vala
shared-mime-info
];
@@ -96,11 +96,6 @@ stdenv.mkDerivation rec {
patchShebangs meson_post_install.py
'';
- preFixup = ''
- wrapProgram "$out/bin/gcr-viewer" \
- --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
- '';
-
passthru = {
updateScript = gnome.updateScript {
packageName = pname;