element-desktop: apply patch to run on Wayland (#137666)
See upstream PR#261[1] for further reference. Previously, the `enable-features`-setting was entirely discarded due to an earlier regression resulting in an attempt to start `element-desktop` in Wayland-mode without all necessary components. Closes #137377 [1] https://github.com/vector-im/element-desktop/pull/261 (cherry picked from commit 5a0d0ec1cf90aae4354a97a2afaff079605ffc82)
This commit is contained in:
parent
667c06be31
commit
626ae0eeba
|
@ -1,6 +1,6 @@
|
|||
{ lib, fetchFromGitHub
|
||||
, makeWrapper, makeDesktopItem, mkYarnPackage
|
||||
, electron, element-web
|
||||
, electron, element-web, fetchpatch
|
||||
}:
|
||||
# Notes for maintainers:
|
||||
# * versions of `element-web` and `element-desktop` should be kept in sync.
|
||||
|
@ -19,6 +19,13 @@ in mkYarnPackage rec {
|
|||
name = "element-desktop-${version}";
|
||||
inherit version src;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/vector-im/element-desktop/commit/96e5389779f60c91b8fe80d7bd9af413d72ec61f.patch";
|
||||
sha256 = "sha256-82I5BDNDWIfp+m2HpzTA5+39hMv2bTbmJlXfM4YUjDY=";
|
||||
})
|
||||
];
|
||||
|
||||
packageJSON = ./element-desktop-package.json;
|
||||
yarnNix = ./element-desktop-yarndeps.nix;
|
||||
|
||||
|
|
Loading…
Reference in New Issue