tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
todoist-electron: respect NIXOS_OZONE_WL
Susan
5 months ago
05b04db5
c8bd8b27
+5
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
to
todoist-electron
package.nix
+5
pkgs/by-name/to/todoist-electron/package.nix
···
3
3
appimageTools,
4
4
fetchurl,
5
5
asar,
6
6
+
makeWrapper,
6
7
}:
7
8
8
9
let
···
38
39
substituteInPlace $out/share/applications/todoist.desktop \
39
40
--replace-fail "Exec=AppRun" "Exec=todoist-electron --" \
40
41
--replace-fail "Exec=todoist" "Exec=todoist-electron --"
42
42
+
43
43
+
. ${makeWrapper}/nix-support/setup-hook
44
44
+
wrapProgram $out/bin/todoist-electron \
45
45
+
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}"
41
46
'';
42
47
43
48
meta = {