Unverified Commit c2a12831 authored by piegames's avatar piegames Committed by GitHub
Browse files

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

parents e1e2a8f6 5da1db47
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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 ];

+13 −0
Original line number Diff line number Diff line
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 = [];