gnomeExtensions.ddterm: fix gjs path

The new version has #!@GJS_SHEBANG@ which ended up as #!/usr/bin/gjs -> #!/usr/bin//nix/store../bin/gjs.

gnomeExtensions.ddterm: add libhandy as dependency

libhandy was added as dependency on commit: eade14f6f4

(cherry picked from commit d89c0a9689)
This commit is contained in:
Timo Myllymäki 2024-03-25 19:13:47 +02:00 committed by github-actions[bot]
parent 3027b8b4cf
commit b94996afd1

View File

@ -9,6 +9,7 @@
, hddtemp
, libgda
, libgtop
, libhandy
, liquidctl
, lm_sensors
, netcat-gnu
@ -45,9 +46,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"
'';
}))