gcr: use wrapGAppsHook

The manual wrapProgram invocation missed binaries in libexec.
This commit is contained in:
Gabriel Ebner 2022-04-02 12:59:35 +02:00
parent fd211d7aaa
commit d8d3deb8d9

View File

@ -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;