diff options
author | 7FM <41307817+7FM@users.noreply.github.com> | 2022-05-04 01:18:18 +0200 |
---|---|---|
committer | 7FM <41307817+7FM@users.noreply.github.com> | 2022-05-04 11:58:52 +0200 |
commit | ab09393283f120a01b0fb52202a61cd2e742af90 (patch) | |
tree | 84be46e2ef8e90b3891dbf1f5300f69085b9ef38 /pkgs/applications/networking/modem-manager-gui | |
parent | cbe587c735b734405f56803e267820ee1559e6c1 (diff) |
modem-manager-gui: fix build with meson >= 0.61
Diffstat (limited to 'pkgs/applications/networking/modem-manager-gui')
-rw-r--r-- | pkgs/applications/networking/modem-manager-gui/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/applications/networking/modem-manager-gui/default.nix b/pkgs/applications/networking/modem-manager-gui/default.nix index 2723f3420436..0eb0a02ed01f 100644 --- a/pkgs/applications/networking/modem-manager-gui/default.nix +++ b/pkgs/applications/networking/modem-manager-gui/default.nix @@ -2,6 +2,7 @@ , pkg-config , python3 , fetchFromGitLab +, fetchpatch , gtk3 , glib , gdbm @@ -44,6 +45,20 @@ stdenv.mkDerivation rec { libayatana-appindicator-gtk3 ]; + patches = [ + # Fix missing tray icon + (fetchpatch { + url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/fix-tray-icon.patch"; + sha256 = "sha256-9LjCEQl8YfraVlO1W7+Yy7egLAPu5YfnvGvCI3uGFh8="; + }) + # Fix build with meson 0.61 + # appdata/meson.build:3:5: ERROR: Function does not take positional arguments. + (fetchpatch { + url = "https://salsa.debian.org/debian/modem-manager-gui/-/raw/7c3e67a1cf7788d7a4b86be12803870d79aa27f2/debian/patches/meson0.61.patch"; + sha256 = "sha256-B+tBPIz5RxOwZWYEWttqSKGw2Wbfk0mnBY0Zy0evvAQ="; + }) + ]; + postPatch = '' patchShebangs man/manhelper.py ''; |