diff options
author | Markus Kowalewski <markus.kowalewski@gmail.com> | 2024-04-25 19:43:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-25 19:43:31 +0000 |
commit | a4abfa293678b5783cbfaa44cf55c364d2a08c29 (patch) | |
tree | 77b3627a1951b2bd965d7b47acfdcba9488fd2ac /pkgs/applications/networking/instant-messengers | |
parent | db0621bad589ee7f14631e25cb993ce7e681a6f3 (diff) | |
parent | 0d9236cfcbfc3ed62e7398525a5b3cd27fa421c6 (diff) |
Merge pull request #306282 from Lillecarl/franz_friends_wayland
franz+derivatives: Implement NIXOS_OZONE_WL
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/franz/generic.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/networking/instant-messengers/franz/generic.nix b/pkgs/applications/networking/instant-messengers/franz/generic.nix index 39c892b335123..533c5c7310b38 100644 --- a/pkgs/applications/networking/instant-messengers/franz/generic.nix +++ b/pkgs/applications/networking/instant-messengers/franz/generic.nix @@ -87,10 +87,11 @@ in stdenv.mkDerivation (rec { dontWrapGApps = true; postFixup = '' - # make xdg-open overrideable at runtime - wrapProgram $out/opt/${name}/${pname} \ + # make xdg-open overridable at runtime + wrapProgramShell $out/opt/${name}/${pname} \ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath runtimeDependencies}" \ --suffix PATH : ${xdg-utils}/bin \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations}}" \ "''${gappsWrapperArgs[@]}" ''; } // cleanedArgs) |