mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Merge pull request #306282 from Lillecarl/franz_friends_wayland
franz+derivatives: Implement NIXOS_OZONE_WL
This commit is contained in:
commit
a4abfa2936
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user