diff options
author | piousdeer <31318219+piousdeer@users.noreply.github.com> | 2023-01-07 05:21:44 +0700 |
---|---|---|
committer | piousdeer <31318219+piousdeer@users.noreply.github.com> | 2023-01-07 05:21:44 +0700 |
commit | 9729c49162d88ff9b3b17b7a1c930782ddfa0bef (patch) | |
tree | 81815a27a486546307002d0dd7ecf2ce5814b979 /pkgs/desktops | |
parent | 93e5b74374f023b83ad33cd3486d6c394f544144 (diff) |
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 { + |