biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / protonvpn-nm-lib / 0001-Patching-GIRepository.patch
blobbb34dff0b5a68b22b9d54ea4d14e10896ded4986
1 From 2867f022aad754fe54d95222b3ae52f6e7f14c2f Mon Sep 17 00:00:00 2001
2 From: "P. R. d. O" <d.ol.rod@tutanota.com>
3 Date: Wed, 27 Apr 2022 21:49:12 -0600
4 Subject: [PATCH] Patching GIRepository
6 ---
7 protonvpn_nm_lib/__init__.py | 5 +++++
8 1 file changed, 5 insertions(+)
10 diff --git a/protonvpn_nm_lib/__init__.py b/protonvpn_nm_lib/__init__.py
11 index e69de29..00b95f4 100644
12 --- a/protonvpn_nm_lib/__init__.py
13 +++ b/protonvpn_nm_lib/__init__.py
14 @@ -0,0 +1,5 @@
15 +import gi
16 +gi.require_version('GIRepository', '2.0')
17 +from gi.repository import GIRepository
18 +repo = GIRepository.Repository.get_default()
19 +repo.prepend_search_path('@networkmanager_path@')
20 --
21 2.35.1