diff options
author | IogaMaster <iogamastercode@gmail.com> | 2023-09-20 21:13:00 -0600 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2023-09-21 08:40:06 +0200 |
commit | 5c3a366f0c49278394e0e30b39e1cbb117a29cbf (patch) | |
tree | 7d930e253698a5f0e6c78e6c7104f36984867f83 /pkgs/development/web | |
parent | 53204fe466f8eb622686d881287111396d97e8e9 (diff) | |
download | nixpkgs-5c3a366f0c49278394e0e30b39e1cbb117a29cbf.tar nixpkgs-5c3a366f0c49278394e0e30b39e1cbb117a29cbf.tar.gz nixpkgs-5c3a366f0c49278394e0e30b39e1cbb117a29cbf.tar.bz2 nixpkgs-5c3a366f0c49278394e0e30b39e1cbb117a29cbf.tar.lz nixpkgs-5c3a366f0c49278394e0e30b39e1cbb117a29cbf.tar.xz nixpkgs-5c3a366f0c49278394e0e30b39e1cbb117a29cbf.tar.zst nixpkgs-5c3a366f0c49278394e0e30b39e1cbb117a29cbf.zip |
Make postman and beekeeper compatible with NIXOS_OZONE_WL
Diffstat (limited to 'pkgs/development/web')
-rw-r--r-- | pkgs/development/web/postman/linux.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/web/postman/linux.nix b/pkgs/development/web/postman/linux.nix index 6ba2182e462..6a242531edb 100644 --- a/pkgs/development/web/postman/linux.nix +++ b/pkgs/development/web/postman/linux.nix @@ -41,6 +41,7 @@ , version , meta , copyDesktopItems +, makeWrapper }: let @@ -129,6 +130,10 @@ stdenv.mkDerivation rec { mkdir -p $out/bin ln -s $out/share/postman/postman $out/bin/postman + source "${makeWrapper}/nix-support/setup-hook" + wrapProgram $out/bin/${pname} \ + --add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--enable-features=UseOzonePlatform --ozone-platform=wayland}}" + mkdir -p $out/share/icons/hicolor/128x128/apps ln -s $out/share/postman/resources/app/assets/icon.png $out/share/icons/postman.png ln -s $out/share/postman/resources/app/assets/icon.png $out/share/icons/hicolor/128x128/apps/postman.png |