diff options
author | piegames <git@piegames.de> | 2023-01-07 11:10:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 11:10:09 +0100 |
commit | b85ff6dd98bc9cc68a1cab65329ae1c00b38b5db (patch) | |
tree | 42c93b84120fd2dc5d451f3acfa366d5193471d3 /pkgs/desktops | |
parent | 92db726a3eaf5ee58118b2f328839796dc8249d0 (diff) | |
parent | 9729c49162d88ff9b3b17b7a1c930782ddfa0bef (diff) |
Merge #209386: gnomeExtensions.pano: patch missing dependencies
Diffstat (limited to 'pkgs/desktops')
-rw-r--r-- | pkgs/desktops/gnome/extensions/extensionOverrides.nix | 11 | ||||
-rw-r--r-- | pkgs/desktops/gnome/extensions/extensionOverridesPatches/pano_at_elhan.io.patch | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/desktops/gnome/extensions/extensionOverrides.nix b/pkgs/desktops/gnome/extensions/extensionOverrides.nix index b1c762a018f4c..81622db59c1ec 100644 --- a/pkgs/desktops/gnome/extensions/extensionOverrides.nix +++ b/pkgs/desktops/gnome/extensions/extensionOverrides.nix @@ -3,7 +3,9 @@ , gjs , gnome , gobject-introspection +, gsound , hddtemp +, libgda , liquidctl , lm_sensors , netcat-gnu @@ -79,6 +81,15 @@ super: lib.trivial.pipe super [ ''; })) + (patchExtension "pano@elhan.io" (old: { + patches = [ + (substituteAll { + src = ./extensionOverridesPatches/pano_at_elhan.io.patch; + inherit gsound libgda; + }) + ]; + })) + (patchExtension "screen-autorotate@kosmospredanie.yandex.ru" (old: { # Requires gjs # https://github.com/NixOS/nixpkgs/issues/164865 diff --git a/pkgs/desktops/gnome/extensions/extensionOverridesPatches/pano_at_elhan.io.patch b/pkgs/desktops/gnome/extensions/extensionOverridesPatches/pano_at_elhan.io.patch new file mode 100644 index 0000000000000..448418d573ca5 --- /dev/null +++ b/pkgs/desktops/gnome/extensions/extensionOverridesPatches/pano_at_elhan.io.patch @@ -0,0 +1,10 @@ +diff --git a/extension.js b/extension.js +index 26561f2..01209e7 100644 +--- a/extension.js ++++ b/extension.js +@@ -1,3 +1,5 @@ ++imports.gi.GIRepository.Repository.prepend_search_path('@gsound@/lib/girepository-1.0') ++imports.gi.GIRepository.Repository.prepend_search_path('@libgda@/lib/girepository-1.0') + + try { + |