mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 20:44:12 +00:00
Merge pull request #260769 from athre0z/mullvad-gui-nixos-ozone-wl
mullvad-vpn: respect `NIXOS_OZONE_WL`
This commit is contained in:
commit
d725925dff
@ -122,6 +122,9 @@ stdenv.mkDerivation {
|
||||
wrapProgram $out/bin/mullvad-daemon \
|
||||
--set-default MULLVAD_RESOURCE_DIR "$out/share/mullvad/resources"
|
||||
|
||||
wrapProgram $out/bin/mullvad-gui \
|
||||
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}"
|
||||
|
||||
sed -i "s|Exec.*$|Exec=$out/bin/mullvad-vpn $U|" $out/share/applications/mullvad-vpn.desktop
|
||||
|
||||
runHook postInstall
|
||||
|
Loading…
Reference in New Issue
Block a user