Niri: Difference between revisions
Changed the github URL for the bugtracker (following recent change in the upstream) |
→Troubleshooting: Use wrapProgram instead of commandLineArgs for build performance |
||
| Line 79: | Line 79: | ||
{{code|<nowiki>slack --wayland-text-input-version=3</nowiki>}} | {{code|<nowiki>slack --wayland-text-input-version=3</nowiki>}} | ||
<code>wrapProgram</code> may be used to add the flag automatically: | |||
{{ | {{file|/etc/nixos/configuration.nix|nix|3= | ||
environment.systemPackages = [ | |||
"--wayland-text-input-version=3" | (pkgs.symlinkJoin { | ||
pname = pkgs.vscode.pname; | |||
paths = [ pkgs.vscode ]; | |||
buildInputs = [ pkgs.makeWrapper ]; | |||
postBuild = "wrapProgram $out/bin/code --add-flags --wayland-text-input-version=3"; | |||
};) | |||
];}} | |||
=== XWayland apps not working === | === XWayland apps not working === | ||