From d8d3deb8d91c01892f70e7e5ab7fdf182ab6d71d Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 2 Apr 2022 12:59:35 +0200 Subject: [PATCH] gcr: use wrapGAppsHook The manual wrapProgram invocation missed binaries in libexec. --- pkgs/development/libraries/gcr/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/libraries/gcr/default.nix b/pkgs/development/libraries/gcr/default.nix index b277a52a6583..6c1c3de08a2e 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;