Commit d89c0a96 authored by Timo Myllymäki's avatar Timo Myllymäki Committed by Artturin
Browse files

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: https://github.com/ddterm/gnome-shell-extension-ddterm/commit/eade14f6f4994f501c5290c6e2318c1e7eaee2d3
parent 84419726
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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"
    '';
  }))