Skip to content

Commit

Permalink
Merge pull request #307077 from jtojnar/wrapGappsHook3
Browse files Browse the repository at this point in the history
wrapGAppsHook3: rename from wrapGAppsHook
  • Loading branch information
wegank authored Apr 27, 2024
2 parents 7d3f4ea + 1d2b048 commit 2521336
Show file tree
Hide file tree
Showing 890 changed files with 1,822 additions and 1,814 deletions.
2 changes: 1 addition & 1 deletion doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Allow linking arbitrary place in the text (e.g. individual list items, sentences
They are defined using a hybrid of the link syntax with the attributes syntax known from headings, called [bracketed spans](https://github.com/jgm/commonmark-hs/blob/master/commonmark-extensions/test/bracketed_spans.md):

```markdown
- []{#ssec-gnome-hooks-glib} `glib` setup hook will populate `GSETTINGS_SCHEMAS_PATH` and then `wrapGAppsHook` will prepend it to `XDG_DATA_DIRS`.
- []{#ssec-gnome-hooks-glib} `glib` setup hook will populate `GSETTINGS_SCHEMAS_PATH` and then `wrapGApps*` hook will prepend it to `XDG_DATA_DIRS`.
```

#### Automatic links
Expand Down
2 changes: 1 addition & 1 deletion doc/build-helpers/special/fhs-environments.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ You can create a simple environment using a `shell.nix` like this:
Running `nix-shell` on it would drop you into a shell inside an FHS env where those libraries and binaries are available in FHS-compliant paths. Applications that expect an FHS structure (i.e. proprietary binaries) can run inside this environment without modification.
You can build a wrapper by running your binary in `runScript`, e.g. `./bin/start.sh`. Relative paths work as expected.

Additionally, the FHS builder links all relocated gsettings-schemas (the glib setup-hook moves them to `share/gsettings-schemas/${name}/glib-2.0/schemas`) to their standard FHS location. This means you don't need to wrap binaries with `wrapGAppsHook`.
Additionally, the FHS builder links all relocated gsettings-schemas (the glib setup-hook moves them to `share/gsettings-schemas/${name}/glib-2.0/schemas`) to their standard FHS location. This means you don't need to wrap binaries with `wrapGApps*` hook.
32 changes: 17 additions & 15 deletions doc/languages-frameworks/gnome.section.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Previously, a GTK theme needed to be in `XDG_DATA_DIRS`. This is no longer neces

If your application uses [GStreamer](https://gstreamer.freedesktop.org/) or [Grilo](https://wiki.gnome.org/Projects/Grilo), you should set `GST_PLUGIN_SYSTEM_PATH_1_0` and `GRL_PLUGIN_PATH`, respectively.

## Onto `wrapGAppsHook` {#ssec-gnome-hooks}
## Onto `wrapGApps*` hooks {#ssec-gnome-hooks}

Given the requirements above, the package expression would become messy quickly:

Expand All @@ -102,27 +102,29 @@ Given the requirements above, the package expression would become messy quickly:
}
```

Fortunately, there is [`wrapGAppsHook`]{#ssec-gnome-hooks-wrapgappshook}. It works in conjunction with other setup hooks that populate environment variables, and it will then wrap all executables in `bin` and `libexec` directories using said variables. For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure.
Fortunately, we have a [family of hooks]{#ssec-gnome-hooks-wrapgappshook} that automate this. They work in conjunction with other setup hooks that populate environment variables, and will then wrap all executables in `bin` and `libexec` directories using said variables.

There is also [`wrapGAppsHook4`]{#ssec-gnome-hooks-wrapgappshook4}, which replaces GTK 3 with GTK 4. Instead of `wrapGAppsHook`, this should be used for all GTK4 applications.
- [`wrapGAppsHook3`]{#ssec-gnome-hooks-wrapgappshook3} for GTK 3 apps. For convenience, it also adds `dconf.lib` for a GIO module implementing a GSettings backend using `dconf`, `gtk3` for GSettings schemas, and `librsvg` for GdkPixbuf loader to the closure.
- [`wrapGAppsHook4`]{#ssec-gnome-hooks-wrapgappshook4} for GTK 4 apps. Same as [`wrapGAppsHook3`]{#ssec-gnome-hooks-wrapgappshook3} but replaces `gtk3` with `gtk4`.
- [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook} for programs without a graphical interface. Same as the above but does not bring `gtk3` and `librsvg` into the closure.

In case you are packaging a program without a graphical interface, you might want to use [`wrapGAppsNoGuiHook`]{#ssec-gnome-hooks-wrapgappsnoguihook}, which runs the same script as `wrapGAppsHook` but does not bring `gtk3` and `librsvg` into the closure.
The hooks do the the following:

- `wrapGAppsHook` itself will add the package’s `share` directory to `XDG_DATA_DIRS`.
- `wrapGApps*` hook itself will add the package’s `share` directory to `XDG_DATA_DIRS`.

- []{#ssec-gnome-hooks-glib} `glib` setup hook will populate `GSETTINGS_SCHEMAS_PATH` and then `wrapGAppsHook` will prepend it to `XDG_DATA_DIRS`.
- []{#ssec-gnome-hooks-glib} `glib` setup hook will populate `GSETTINGS_SCHEMAS_PATH` and then `wrapGApps*` hook will prepend it to `XDG_DATA_DIRS`.

- []{#ssec-gnome-hooks-gdk-pixbuf} `gdk-pixbuf` setup hook will populate `GDK_PIXBUF_MODULE_FILE` with the path to biggest `loaders.cache` file from the dependencies containing [GdkPixbuf loaders](#ssec-gnome-gdk-pixbuf-loaders). This works fine when there are only two packages containing loaders (`gdk-pixbuf` and e.g. `librsvg`) – it will choose the second one, reasonably expecting that it will be bigger since it describes extra loader in addition to the default ones. But when there are more than two loader packages, this logic will break. One possible solution would be constructing a custom cache file for each package containing a program like `services/x11/gdk-pixbuf.nix` NixOS module does. `wrapGAppsHook` copies the `GDK_PIXBUF_MODULE_FILE` environment variable into the produced wrapper.
- []{#ssec-gnome-hooks-gdk-pixbuf} `gdk-pixbuf` setup hook will populate `GDK_PIXBUF_MODULE_FILE` with the path to biggest `loaders.cache` file from the dependencies containing [GdkPixbuf loaders](#ssec-gnome-gdk-pixbuf-loaders). This works fine when there are only two packages containing loaders (`gdk-pixbuf` and e.g. `librsvg`) – it will choose the second one, reasonably expecting that it will be bigger since it describes extra loader in addition to the default ones. But when there are more than two loader packages, this logic will break. One possible solution would be constructing a custom cache file for each package containing a program like `services/x11/gdk-pixbuf.nix` NixOS module does. `wrapGApps*` hook copies the `GDK_PIXBUF_MODULE_FILE` environment variable into the produced wrapper.

- []{#ssec-gnome-hooks-gtk-drop-icon-theme-cache} One of `gtk3`’s setup hooks will remove `icon-theme.cache` files from package’s icon theme directories to avoid conflicts. Icon theme packages should prevent this with `dontDropIconThemeCache = true;`.

- []{#ssec-gnome-hooks-dconf} `dconf.lib` is a dependency of `wrapGAppsHook`, which then also adds it to the `GIO_EXTRA_MODULES` variable.
- []{#ssec-gnome-hooks-dconf} `dconf.lib` is a dependency of `wrapGApps*` hook, which then also adds it to the `GIO_EXTRA_MODULES` variable.

- []{#ssec-gnome-hooks-hicolor-icon-theme} `hicolor-icon-theme`’s setup hook will add icon themes to `XDG_ICON_DIRS`.

- []{#ssec-gnome-hooks-gobject-introspection} `gobject-introspection` setup hook populates `GI_TYPELIB_PATH` variable with `lib/girepository-1.0` directories of dependencies, which is then added to wrapper by `wrapGAppsHook`. It also adds `share` directories of dependencies to `XDG_DATA_DIRS`, which is intended to promote GIR files but it also [pollutes the closures](https://github.com/NixOS/nixpkgs/issues/32790) of packages using `wrapGAppsHook`.
- []{#ssec-gnome-hooks-gobject-introspection} `gobject-introspection` setup hook populates `GI_TYPELIB_PATH` variable with `lib/girepository-1.0` directories of dependencies, which is then added to wrapper by `wrapGApps*` hook. It also adds `share` directories of dependencies to `XDG_DATA_DIRS`, which is intended to promote GIR files but it also [pollutes the closures](https://github.com/NixOS/nixpkgs/issues/32790) of packages using `wrapGApps*` hook.

- []{#ssec-gnome-hooks-gst-grl-plugins} Setup hooks of `gst_all_1.gstreamer` and `grilo` will populate the `GST_PLUGIN_SYSTEM_PATH_1_0` and `GRL_PLUGIN_PATH` variables, respectively, which will then be added to the wrapper by `wrapGAppsHook`.
- []{#ssec-gnome-hooks-gst-grl-plugins} Setup hooks of `gst_all_1.gstreamer` and `grilo` will populate the `GST_PLUGIN_SYSTEM_PATH_1_0` and `GRL_PLUGIN_PATH` variables, respectively, which will then be added to the wrapper by `wrapGApps*` hook.

You can also pass additional arguments to `makeWrapper` using `gappsWrapperArgs` in `preFixup` hook:

Expand All @@ -147,15 +149,15 @@ Most GNOME package offer [`updateScript`](#var-passthru-updateScript), it is the

### `GLib-GIO-ERROR **: 06:04:50.903: No GSettings schemas are installed on the system` {#ssec-gnome-common-issues-no-schemas}

There are no schemas available in `XDG_DATA_DIRS`. Temporarily add a random package containing schemas like `gsettings-desktop-schemas` to `buildInputs`. [`glib`](#ssec-gnome-hooks-glib) and [`wrapGAppsHook`](#ssec-gnome-hooks-wrapgappshook) setup hooks will take care of making the schemas available to application and you will see the actual missing schemas with the [next error](#ssec-gnome-common-issues-missing-schema). Or you can try looking through the source code for the actual schemas used.
There are no schemas available in `XDG_DATA_DIRS`. Temporarily add a random package containing schemas like `gsettings-desktop-schemas` to `buildInputs`. [`glib`](#ssec-gnome-hooks-glib) and [`wrapGApps*`](#ssec-gnome-hooks-wrapgappshook) setup hooks will take care of making the schemas available to application and you will see the actual missing schemas with the [next error](#ssec-gnome-common-issues-missing-schema). Or you can try looking through the source code for the actual schemas used.

### `GLib-GIO-ERROR **: 06:04:50.903: Settings schema ‘org.gnome.foo’ is not installed` {#ssec-gnome-common-issues-missing-schema}

Package is missing some GSettings schemas. You can find out the package containing the schema with `nix-locate org.gnome.foo.gschema.xml` and let the hooks handle the wrapping as [above](#ssec-gnome-common-issues-no-schemas).

### When using `wrapGAppsHook` with special derivers you can end up with double wrapped binaries. {#ssec-gnome-common-issues-double-wrapped}
### When using `wrapGApps*` hook with special derivers you can end up with double wrapped binaries. {#ssec-gnome-common-issues-double-wrapped}

This is because derivers like `python.pkgs.buildPythonApplication` or `qt5.mkDerivation` have setup-hooks automatically added that produce wrappers with makeWrapper. The simplest way to workaround that is to disable the `wrapGAppsHook` automatic wrapping with `dontWrapGApps = true;` and pass the arguments it intended to pass to makeWrapper to another.
This is because derivers like `python.pkgs.buildPythonApplication` or `qt5.mkDerivation` have setup-hooks automatically added that produce wrappers with makeWrapper. The simplest way to workaround that is to disable the `wrapGApps*` hook automatic wrapping with `dontWrapGApps = true;` and pass the arguments it intended to pass to makeWrapper to another.

In the case of a Python application it could look like:

Expand All @@ -165,7 +167,7 @@ python3.pkgs.buildPythonApplication {
version = "3.32.2";
nativeBuildInputs = [
wrapGAppsHook
wrapGAppsHook3
gobject-introspection
# ...
];
Expand All @@ -187,7 +189,7 @@ mkDerivation {
version = "3.47.0";
nativeBuildInputs = [
wrapGAppsHook
wrapGAppsHook3
qmake
# ...
];
Expand Down
2 changes: 1 addition & 1 deletion nixos/tests/installed-tests/gnome-photos.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ makeInstalledTest {
(stdenv.mkDerivation {
name = "desktop-gsettings";
dontUnpack = true;
nativeBuildInputs = [ glib wrapGAppsHook ];
nativeBuildInputs = [ glib wrapGAppsHook3 ];
buildInputs = [ gsettings-desktop-schemas ];
installPhase = ''
runHook preInstall
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/accessibility/dasher/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, fetchFromGitLab
, autoreconfHook
, pkg-config
, wrapGAppsHook
, wrapGAppsHook3
, glib
, gtk3
, expat
Expand Down Expand Up @@ -39,7 +39,7 @@ stdenv.mkDerivation {

nativeBuildInputs = [
autoreconfHook
wrapGAppsHook
wrapGAppsHook3
pkg-config
# doc generation
gnome-doc-utils
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/accessibility/mousetweaks/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkg-config
, glib, gtk3, gnome, gsettings-desktop-schemas, wrapGAppsHook
, glib, gtk3, gnome, gsettings-desktop-schemas, wrapGAppsHook3
, xorg
}:

Expand All @@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "005fhmvb45sa9mq17dpa23n1xnspiissx5rnpiy7hiqmy3g5rg8f";
};

nativeBuildInputs = [ pkg-config wrapGAppsHook ];
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];

buildInputs = [
glib gtk3 gsettings-desktop-schemas
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/accessibility/squeekboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
, rustPlatform
, rustc
, feedbackd
, wrapGAppsHook
, wrapGAppsHook3
, fetchpatch
, nixosTests
}:
Expand Down Expand Up @@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
pkg-config
glib
wayland
wrapGAppsHook
wrapGAppsHook3
rustPlatform.cargoSetupHook
cargo
rustc
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/ario/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
, libsoup
, libxml2
, taglib
, wrapGAppsHook
, wrapGAppsHook3
}:

stdenv.mkDerivation rec {
Expand All @@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
pkg-config
gettext
intltool
wrapGAppsHook
wrapGAppsHook3
];

buildInputs = [
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/audacity/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, fetchFromGitHub
, cmake
, makeWrapper
, wrapGAppsHook
, wrapGAppsHook3
, pkg-config
, python3
, gettext
Expand Down Expand Up @@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
pkg-config
python3
makeWrapper
wrapGAppsHook
wrapGAppsHook3
] ++ lib.optionals stdenv.isLinux [
linuxHeaders
];
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/audio-recorder/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl
, pkg-config, intltool
, glib, dbus, gtk3, libappindicator-gtk3, gst_all_1
, librsvg, wrapGAppsHook
, librsvg, wrapGAppsHook3
, pulseaudioSupport ? true, libpulseaudio }:

stdenv.mkDerivation rec {
Expand All @@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
# https://bugs.launchpad.net/audio-recorder/+bug/1784622
env.NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";

nativeBuildInputs = [ pkg-config intltool wrapGAppsHook ];
nativeBuildInputs = [ pkg-config intltool wrapGAppsHook3 ];

buildInputs = [
glib dbus gtk3 librsvg libappindicator-gtk3
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, gdk-pixbuf, glib, gtk3, lib, xorg
, libglvnd, libjack2, ffmpeg
, libxkbcommon, xdg-utils, zlib, pulseaudio
, wrapGAppsHook, makeWrapper }:
, wrapGAppsHook3, makeWrapper }:

stdenv.mkDerivation rec {
pname = "bitwig-studio";
Expand All @@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-cF8gVPjM0KUcKOW09uFccp4/lzbUmZcBkVOwr/A/8Yw=";
};

nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook3 ];

unpackCmd = ''
mkdir -p root
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/bitwig-studio/bitwig-studio4.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
, makeWrapper
, pipewire
, pulseaudio
, wrapGAppsHook
, wrapGAppsHook3
, xdg-utils
, xorg
, zlib
Expand All @@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-gtQ1mhXk0AqGidZk5TCzSR58pD1JJoELMBmELtqyb4U=";
};

nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook3 ];

unpackCmd = ''
mkdir -p root
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/bitwig-studio/bitwig-studio5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
, pango
, pipewire
, pulseaudio
, wrapGAppsHook
, wrapGAppsHook3
, xdg-utils
, xorg
, zlib
Expand All @@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
sha256 = "sha256-U1Qp7/7kAr1IEcv256I2J/sb5MYxfR20Pi5N8WaVh2U=";
};

nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook ];
nativeBuildInputs = [ dpkg makeWrapper wrapGAppsHook3 ];

unpackCmd = ''
mkdir -p root
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/buzztrax/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
, itstool
, libtool
, pkg-config
, wrapGAppsHook
, wrapGAppsHook3
, yelp-tools
, clutter-gtk
, gst_all_1
Expand Down Expand Up @@ -41,7 +41,7 @@ stdenv.mkDerivation {
itstool
libtool
pkg-config
wrapGAppsHook
wrapGAppsHook3
yelp-tools
];

Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/deadbeef/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
, swift-corelibs-libdispatch
# deadbeef can use either gtk2 or gtk3
, gtk2Support ? false, gtk2
, gtk3Support ? true, gtk3, gsettings-desktop-schemas, wrapGAppsHook
, gtk3Support ? true, gtk3, gsettings-desktop-schemas, wrapGAppsHook3
# input plugins
, vorbisSupport ? true, libvorbis
, mp123Support ? true, libmad
Expand Down Expand Up @@ -112,7 +112,7 @@ in clangStdenv.mkDerivation {
libtool
pkg-config
] ++ optionals gtk3Support [
wrapGAppsHook
wrapGAppsHook3
];

enableParallelBuilding = true;
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/denemo/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, glib, libxml2, librsvg, libsndfile, aubio
, gtk3, gtksourceview, evince, fluidsynth, rubberband
, autoreconfHook, gtk-doc
, portaudio, portmidi, fftw, wrapGAppsHook }:
, portaudio, portmidi, fftw, wrapGAppsHook3 }:

stdenv.mkDerivation rec {
pname = "denemo";
Expand Down Expand Up @@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
autoreconfHook
gtk-doc
wrapGAppsHook
wrapGAppsHook3
intltool
gettext
pkg-config
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/easyabc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fetchPypi, substituteAll, python39, fluidsynth, soundfont-fluid, wrapGAppsHook, abcmidi, abcm2ps, ghostscript }:
{ lib, fetchFromGitHub, fetchPypi, substituteAll, python39, fluidsynth, soundfont-fluid, wrapGAppsHook3, abcmidi, abcm2ps, ghostscript }:

let
# requires python39 due to https://stackoverflow.com/a/71902541 https://github.com/jwdj/EasyABC/issues/52
Expand Down Expand Up @@ -28,7 +28,7 @@ in python.pkgs.buildPythonApplication {
hash = "sha256-leC3A4HQMeJNeZXArb3YAYr2mddGPcws618NrRh2Q1Y=";
};

nativeBuildInputs = [ wrapGAppsHook ];
nativeBuildInputs = [ wrapGAppsHook3 ];

propagatedBuildInputs = with python.pkgs; [
cx-freeze
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/easytag/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, pkg-config, intltool, gtk3, glib, libid3tag, id3lib, taglib
, libvorbis, libogg, opusfile, flac, itstool, libxml2, gsettings-desktop-schemas
, gnome, wrapGAppsHook
, gnome, wrapGAppsHook3
}:

let
Expand All @@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {

NIX_LDFLAGS = "-lid3tag -lz";

nativeBuildInputs = [ pkg-config intltool itstool libxml2 wrapGAppsHook ];
nativeBuildInputs = [ pkg-config intltool itstool libxml2 wrapGAppsHook3 ];
buildInputs = [
gtk3 glib libid3tag id3lib taglib libvorbis libogg opusfile flac
gsettings-desktop-schemas gnome.adwaita-icon-theme
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/exaile/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub
, gobject-introspection, makeWrapper, wrapGAppsHook
, gobject-introspection, makeWrapper, wrapGAppsHook3
, gtk3, gst_all_1, python3
, gettext, gnome, help2man, keybinder3, libnotify, librsvg, streamripper, udisks, webkitgtk
, iconTheme ? gnome.adwaita-icon-theme
Expand Down Expand Up @@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
gobject-introspection
makeWrapper
wrapGAppsHook
wrapGAppsHook3
] ++ lib.optionals documentationSupport [
help2man
python3.pkgs.sphinx
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/audio/gmpc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
, libICE
, sqlite
, hicolor-icon-theme
, wrapGAppsHook
, wrapGAppsHook3
}:

stdenv.mkDerivation rec {
Expand All @@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
sha256 = "0b3bnxf98i5lhjyljvgxgx9xmb6p46cn3a9cccrng14nagri9556";
};

nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook ];
nativeBuildInputs = [ pkg-config libtool intltool gob2 vala wrapGAppsHook3 ];
buildInputs = [
glib
gtk2
Expand Down
Loading

0 comments on commit 2521336

Please sign in to comment.