gnomeExtensions.pano: patch missing dependencies

This commit is contained in:
piousdeer 2023-01-07 05:21:44 +07:00
parent 93e5b74374
commit 9729c49162
2 changed files with 21 additions and 0 deletions

View file

@ -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

View file

@ -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 {