Commit Graph

17 Commits

Author SHA1 Message Date
Luna Nova
fbe0bfd1e2
discord: add wayland to library path
Fixes https://github.com/NixOS/nixpkgs/issues/207820
2022-12-26 10:07:40 -08:00
Mihai Fufezan
1c81d6c33a
discord: add libglvnd and fix electron flags 2022-11-22 16:08:07 +02:00
Naïm Favier
b5b397bb2b
discord: remove nss from LD_LIBRARY_PATH
Avoids contaminating Firefox launched from Discord with the wrong
version of nss.

The Discord binary's DT_NEEDED contains nss, so this should be fine.
2022-10-29 12:47:28 +02:00
Artturin
4433179127 discord: make update script work for all branches 2022-10-24 22:22:46 +03:00
Artturi
cdde640978
discord: add a script to disable breaking updates (#197248) 2022-10-22 14:50:39 -04:00
Paul Grandperrin
aeaeca819d NIXOS_OZONE_WL: fix wayland window decorations 2022-09-28 15:56:55 +02:00
fortuneteller2k
af7323d1a8 discord: fix override 2022-07-05 18:47:41 +00:00
PedroHLC ☭
78abe603af
openasar: add unzip; remove autoupdater; unstable-2022-06-10 -> unstable-2022-06-27 2022-07-01 18:55:49 -03:00
PedroHLC ☭
4ecf88be2d
discord: add openasar option 2022-06-23 16:34:12 -03:00
Mario Rodas
439bcf4cc5
Merge pull request #171002 from anund/fix_discord_icon
discord: fix desktop icon location
2022-06-16 22:39:49 -05:00
Naïm Favier
3c77d361b5
makeShellWrapper: add explicitly named attribute
So that things that use the makeShellWrapper/wrapProgramShell
functions can depend on makeShellWrapper explicitly, which should ease
migration in the future.
2022-05-12 11:01:23 +02:00
Naïm Favier
62245943aa
makeWrapper,makeBinaryWrapper: introduce explicitly named functions
Because both versions might end up in a derivation's build inputs, it
might be useful to be able to explicitly select which function to use.
2022-05-10 22:07:56 +02:00
Dominik Xaver Hörl
a697777808 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.
2022-05-10 13:09:04 +02:00
Anund
b855d0a6aa discord: fix desktop icon location
${out}/share/pixmaps and $XDG_DATA_DIRS/share/pixmaps are not part
of the freedesktop icon theme spec. /usr/share/pixmaps is. There
are some packages that have been patched to recognize this non
standard path. Those packages may be depending this path so here
we only add the equivalent hicolor theme fallback path.

Without this change the discord icon won't be picked up by apps
attempting to follow the lookup pattern in the freedesktop spec.
2022-04-30 15:58:27 +10:00
K900
cb2cfba6f7 treewide: switch all desktop file generators to new API
Notably:
- remove explicit arguments that match the defaults
- convert everything to the right Nix types
2022-02-25 13:40:38 -08:00
Wout Mertens
b2eb5f62a7 wayland: enable ozone via $NIXOS_OZONE_WL
Chrome, Chromium, VSCode, Slack, Signal, Discord, element-desktop,
schildichat.

For the latter two, the feature flag useWayland was removed and a
wrapper script was provided.
2022-01-27 09:46:36 +01:00
Devin Singh
8a6cde9143
discord: add derivations for {x86_64,aarch64}-darwin 2022-01-14 19:19:26 -06:00