diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2023-11-25 14:45:16 +0100 |
---|---|---|
committer | Dawid Dziurla <dawidd0811@gmail.com> | 2023-11-25 14:45:16 +0100 |
commit | da87e679f59942b6b2b49ef3de7cb30f59af66bb (patch) | |
tree | 33baedf28ef106edc4b918fcc972a8518c34fb5a /pkgs/desktops/gnome | |
parent | 21dc638b828491b365f05ce49aa8ea816956a35c (diff) | |
download | nixlib-da87e679f59942b6b2b49ef3de7cb30f59af66bb.tar nixlib-da87e679f59942b6b2b49ef3de7cb30f59af66bb.tar.gz nixlib-da87e679f59942b6b2b49ef3de7cb30f59af66bb.tar.bz2 nixlib-da87e679f59942b6b2b49ef3de7cb30f59af66bb.tar.lz nixlib-da87e679f59942b6b2b49ef3de7cb30f59af66bb.tar.xz nixlib-da87e679f59942b6b2b49ef3de7cb30f59af66bb.tar.zst nixlib-da87e679f59942b6b2b49ef3de7cb30f59af66bb.zip |
gnomeExtensions.pop-shell: unstable-2023-04-27 -> unstable-2023-11-10
Diffstat (limited to 'pkgs/desktops/gnome')
-rw-r--r-- | pkgs/desktops/gnome/extensions/pop-shell/default.nix | 6 | ||||
-rw-r--r-- | pkgs/desktops/gnome/extensions/pop-shell/fix-gjs.patch | 25 |
2 files changed, 14 insertions, 17 deletions
diff --git a/pkgs/desktops/gnome/extensions/pop-shell/default.nix b/pkgs/desktops/gnome/extensions/pop-shell/default.nix index e40689348625..2c383b45f48d 100644 --- a/pkgs/desktops/gnome/extensions/pop-shell/default.nix +++ b/pkgs/desktops/gnome/extensions/pop-shell/default.nix @@ -2,13 +2,13 @@ stdenv.mkDerivation rec { pname = "gnome-shell-extension-pop-shell"; - version = "unstable-2023-04-27"; + version = "unstable-2023-11-10"; src = fetchFromGitHub { owner = "pop-os"; repo = "shell"; - rev = "b5acccefcaa653791d25f70a22c0e04f1858d96e"; - hash = "sha256-w6EBHKWJ4L3ZRVmFqZhCqHGumbElQXk9udYSnwjIl6c="; + rev = "aafc9458a47a68c396933c637de00421f5198a2a"; + hash = "sha256-74lZbEYHj7fufRSbuI2SN9rqbB3gpRa0V96qjAFc01s="; }; nativeBuildInputs = [ glib gjs typescript ]; diff --git a/pkgs/desktops/gnome/extensions/pop-shell/fix-gjs.patch b/pkgs/desktops/gnome/extensions/pop-shell/fix-gjs.patch index 83b4cea8b920..4d072f88708a 100644 --- a/pkgs/desktops/gnome/extensions/pop-shell/fix-gjs.patch +++ b/pkgs/desktops/gnome/extensions/pop-shell/fix-gjs.patch @@ -1,29 +1,26 @@ diff --git a/src/extension.ts b/src/extension.ts -index c3833e9..611e84c 100644 +index f34e865..f12d4db 100644 --- a/src/extension.ts +++ b/src/extension.ts -@@ -544,7 +544,7 @@ export class Ext extends Ecs.System<ExtEvent> { - return true - } +@@ -556,7 +556,7 @@ export class Ext extends Ecs.System<ExtEvent> { + return true; + }; -- const ipc = utils.async_process_ipc(["gjs", path]) -+ const ipc = utils.async_process_ipc([path]) +- const ipc = utils.async_process_ipc(['gjs', '--module', path]); ++ const ipc = utils.async_process_ipc([path]); if (ipc) { const generator = (stdout: any, res: any) => { diff --git a/src/panel_settings.ts b/src/panel_settings.ts -index 5d02d33..1cd70d0 100644 +index fbcafbf..ef409ee 100644 --- a/src/panel_settings.ts +++ b/src/panel_settings.ts -@@ -348,7 +348,7 @@ function color_selector(ext: Ext, menu: any) { +@@ -352,7 +352,7 @@ function color_selector(ext: Ext, menu: any) { color_selector_item.add_child(color_button); color_button.connect('button-press-event', () => { - let path = Me.dir.get_path() + "/color_dialog/main.js"; -- let resp = GLib.spawn_command_line_async(`gjs ${path}`); + let path = get_current_path() + '/color_dialog/main.js'; +- let resp = GLib.spawn_command_line_async(`gjs --module ${path}`); + let resp = GLib.spawn_command_line_async(`${path}`); if (!resp) { - return null; --- -2.37.3 - + } |