diff options
author | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2022-05-10 13:09:04 +0200 |
---|---|---|
committer | Dominik Xaver Hörl <hoe.dom@gmx.de> | 2022-05-10 13:09:04 +0200 |
commit | a6977778089a7f9b31335e5d202cf20798705b6e (patch) | |
tree | efd0fd478bf33f0f0eebcac25509298c2e8ddf23 /pkgs/applications/networking/instant-messengers/discord/linux.nix | |
parent | 6d06f47584813ec31e5ad167e3f488fbebaac7a1 (diff) | |
download | nixpkgs-a6977778089a7f9b31335e5d202cf20798705b6e.tar nixpkgs-a6977778089a7f9b31335e5d202cf20798705b6e.tar.gz nixpkgs-a6977778089a7f9b31335e5d202cf20798705b6e.tar.bz2 nixpkgs-a6977778089a7f9b31335e5d202cf20798705b6e.tar.lz nixpkgs-a6977778089a7f9b31335e5d202cf20798705b6e.tar.xz nixpkgs-a6977778089a7f9b31335e5d202cf20798705b6e.tar.zst nixpkgs-a6977778089a7f9b31335e5d202cf20798705b6e.zip |
discord: use non-binary wrapper for wrapGAppsHook
The use of --add-flags in this derivation does not work with binary wrappers, which wrapGAppsHook uses since #164163.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/discord/linux.nix')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/discord/linux.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/discord/linux.nix b/pkgs/applications/networking/instant-messengers/discord/linux.nix index 05833c1eeaf..f5d984bf3a6 100644 --- a/pkgs/applications/networking/instant-messengers/discord/linux.nix +++ b/pkgs/applications/networking/instant-messengers/discord/linux.nix @@ -1,5 +1,5 @@ { pname, version, src, meta, binaryName, desktopName, autoPatchelfHook -, makeDesktopItem, lib, stdenv, wrapGAppsHook, alsa-lib, at-spi2-atk +, makeDesktopItem, lib, stdenv, wrapGAppsHook, makeWrapper, alsa-lib, at-spi2-atk , at-spi2-core, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk-pixbuf , glib, gtk3, libcxx, libdrm, libnotify, libpulseaudio, libuuid, libX11 , libXScrnSaver, libXcomposite, libXcursor, libXdamage, libXext, libXfixes @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { libxshmfence mesa nss - wrapGAppsHook + (wrapGAppsHook.override { makeBinaryWrapper = makeWrapper; }) ]; dontWrapGApps = true; |