Merge pull request #298973 from tmyllymaki/update-ddterm

gnomeExtensions.ddterm: fix gjs path and dependencies
This commit is contained in:
Artturin 2024-05-24 16:51:11 +03:00 committed by GitHub
commit 5a69430d17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -9,6 +9,7 @@
, hddtemp
, libgda
, libgtop
, libhandy
, liquidctl
, lm_sensors
, netcat-gnu
@ -47,9 +48,9 @@ super: lib.trivial.pipe super [
(patchExtension "ddterm@amezin.github.com" (old: {
nativeBuildInputs = [ gobject-introspection wrapGAppsHook3 ];
buildInputs = [ vte ];
buildInputs = [ vte libhandy gjs ];
postFixup = ''
substituteInPlace "$out/share/gnome-shell/extensions/ddterm@amezin.github.com/bin/com.github.amezin.ddterm" --replace "gjs" "${gjs}/bin/gjs"
patchShebangs "$out/share/gnome-shell/extensions/ddterm@amezin.github.com/bin/com.github.amezin.ddterm"
wrapGApp "$out/share/gnome-shell/extensions/ddterm@amezin.github.com/bin/com.github.amezin.ddterm"
'';
}))