Merge PR #201318: gnomeExtensions.tophat: patch missing dependency

This commit is contained in:
piegames 2023-02-07 17:25:59 +01:00 committed by GitHub
commit c2a1283177
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 0 deletions

View file

@ -12,6 +12,7 @@
, nvme-cli
, procps
, pulseaudio
, libgtop
, python3
, smartmontools
, substituteAll
@ -112,6 +113,15 @@ super: lib.trivial.pipe super [
meta.maintainers = with lib.maintainers; [ rhoriguchi ];
}))
(patchExtension "tophat@fflewddur.github.io" (old: {
patches = [
(substituteAll {
src = ./extensionOverridesPatches/tophat_at_fflewddur.github.io.patch;
gtop_path = "${libgtop}/lib/girepository-1.0";
})
];
}))
(patchExtension "unite@hardpixel.eu" (old: {
buildInputs = [ xprop ];

View file

@ -0,0 +1,13 @@
diff --git a/extension.js b/extension.js
index 60396f8..b044872 100644
--- a/extension.js
+++ b/extension.js
@@ -20,6 +20,8 @@
/* exported init, enable, disable */
+imports.gi.GIRepository.Repository.prepend_search_path('@gtop_path@');
+
let depFailures = [];
let missingLibs = [];