git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #171462 from 7FM/patch-1
602292fBobby Rong
pkgs/applications/networking/modem-manager-gui/default.nix+15
@@ -2,6 +2,7 @@
2, pkg-config
2, pkg-config
3, python3
3, python3
4, fetchFromGitLab
4, fetchFromGitLab
5+, fetchpatch
5, gtk3
6, gtk3
6, glib
7, glib
7, gdbm
8, gdbm
@@ -44,6 +45,20 @@ stdenv.mkDerivation rec {
44 libayatana-appindicator-gtk3
45 libayatana-appindicator-gtk3
45 ];
46 ];
46
47
48+ patches = [
49+ # Fix missing tray icon
50+ (fetchpatch {
51+ url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/fix-tray-icon.patch";
52+ sha256 = "sha256-9LjCEQl8YfraVlO1W7+Yy7egLAPu5YfnvGvCI3uGFh8=";
53+ })
54+ # Fix build with meson 0.61
55+ # appdata/meson.build:3:5: ERROR: Function does not take positional arguments.
56+ (fetchpatch {
57+ url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/meson0.61.patch";
58+ sha256 = "sha256-B+tBPIz5RxOwZWYEWttqSKGw2Wbfk0mnBY0Zy0evvAQ=";
59+ })
60+ ];
61+
47 postPatch = ''
62 postPatch = ''
48 patchShebangs man/manhelper.py
63 patchShebangs man/manhelper.py
49 '';
64 '';