summary refs log tree commit diff
path: root/pkgs/os-specific/linux/anbox
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-06-06 16:47:46 -0400
committerrnhmjoj <rnhmjoj@inventati.org>2023-09-04 08:51:55 +0200
commit5adb7395998f106b739187f8a93a82d9ad44653e (patch)
treea8fb85fa91f74a53d8975c2fe4af47a74ac28738 /pkgs/os-specific/linux/anbox
parent73767bb345c7d943b2bc1cd213d7cc9b87e03a64 (diff)
downloadnixpkgs-5adb7395998f106b739187f8a93a82d9ad44653e.tar
nixpkgs-5adb7395998f106b739187f8a93a82d9ad44653e.tar.gz
nixpkgs-5adb7395998f106b739187f8a93a82d9ad44653e.tar.bz2
nixpkgs-5adb7395998f106b739187f8a93a82d9ad44653e.tar.lz
nixpkgs-5adb7395998f106b739187f8a93a82d9ad44653e.tar.xz
nixpkgs-5adb7395998f106b739187f8a93a82d9ad44653e.tar.zst
nixpkgs-5adb7395998f106b739187f8a93a82d9ad44653e.zip
anbox: add patch to provide window icon
Currently the windows don't provide icons. It's rather inconvenient for
many reasons.

This patch forwards the icons from the Android application to the
window.

Patch origin: https://fjordtek.com/git/Fincer/anbox-install/commit/89226287860cf8ced3d41868c80cfa216b5237af

Rebased on top of the current tip of anbox master

See also: https://github.com/anbox/anbox/issues/1514
Diffstat (limited to 'pkgs/os-specific/linux/anbox')
-rw-r--r--pkgs/os-specific/linux/anbox/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/anbox/default.nix b/pkgs/os-specific/linux/anbox/default.nix
index f375e7a52b2..515a89d6171 100644
--- a/pkgs/os-specific/linux/anbox/default.nix
+++ b/pkgs/os-specific/linux/anbox/default.nix
@@ -125,6 +125,11 @@ stdenv.mkDerivation rec {
     })
     # Ensures generated desktop files work on store path change
     ./0001-NixOS-Use-anbox-from-PATH-in-desktop-files.patch
+    # Provide window icons
+    (fetchpatch {
+      url = "https://github.com/samueldr/anbox/commit/2387f4fcffc0e19e52e58fb6f8264fbe87aafe4d.patch";
+      sha256 = "12lmr0kxw1n68g3abh1ak5awmpczfh75c26f53jc8qpvdvv1ywha";
+    })
   ];
 
   postInstall = ''