| 4 Jan 2025 |
| Salt joined the room. | 04:37:20 |
Salt | Hi, I recently went down a rabbit hole while wondering when a particular GNOME extension would update... It has lead me to the question of whether the update-extensions.py script could be setup to have some sort of filter such that an individual extension could be updated? | 04:45:31 |
| @kranzes:matrix.org left the room. | 15:30:11 |
| 5 Jan 2025 |
Jan Tojnar | The keys need to be in a second level, see https://github.com/jtojnar/nixfiles/blob/a39624655dba4703fc0162b1412c5c34f04d2997/hosts/theo/configuration.nix#L544-L551 for an example | 19:06:26 |
Jan Tojnar | It could probably be added. But generally, we will want to update all at the same time anyway. | 19:07:46 |
Salt | I get that, it just seems like there are super large gaps between updates being run. This is especially impactful when there is a recent update to a higher GNOME version, where we are stuck waiting for the updated extension to be pulled in. | 19:09:39 |
Salt | I tried to submit a PR to the open PR for a recent update but unsure if it has been noticed yet. | 19:10:24 |
emily | is the GNOME staging updates PR cool for anyone to merge whenever or does the GNOME team handle it when -next starts? trawling through queued up staging PRs in preparation for the upcoming cycle | 19:10:40 |
Jan Tojnar | emily: should be good to go, I was waiting for ofborg-eval | 19:11:16 |
emily | ofborg died 😢 | 19:11:24 |
emily | it's all about the GHA eval now | 19:11:30 |
Salt | oh, while i'm here maybe someone can take a look at my attempts to update the weather dconf settings (and why they aren't working...)
# "org/gnome/clocks".world-clocks = [ {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "Seattle" "KBFI" true [ (mkTuple [ 0.8298313314533731 (-2.134775231953554) ]) ] [ (mkTuple [ 0.8308850914425572 (-2.135097419733472) ]) ] ]) ];
# } {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "New York" "KNYC" true [ (mkTuple [ 0.7118034407872564 (-1.2909618758762367) ]) ] [ (mkTuple [ 0.7105980465926592 (-1.2916478949920254) ]) ] ]) ];
# } {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "Berlin" "EDDT" true [ (mkTuple [ 0.9174614159494501 0.23241968454167572 ]) ] [ (mkTuple [ 0.916588751323453 0.23387411976724018 ]) ] ]) ];
# } {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "Shanghai" "ZSSS" true [ (mkTuple [ 0.5439609560226636 2.1194114825206833 ]) ] [ (mkTuple [ 0.544930573688609 2.119842980271654 ]) ] ]) ];
# } ];
# "org/gnome/clocks" = {
# world-clocks = [ {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "Seattle" "KBFI" true [ (mkTuple [ 0.8298313314533731 (-2.134775231953554) ]) ] [ (mkTuple [ 0.8308850914425572 (-2.135097419733472) ]) ] ]) ];
# } {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "New York" "KNYC" true [ (mkTuple [ 0.7118034407872564 (-1.2909618758762367) ]) ] [ (mkTuple [ 0.7105980465926592 (-1.2916478949920254) ]) ] ]) ];
# } {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "Berlin" "EDDT" true [ (mkTuple [ 0.9174614159494501 0.23241968454167572 ]) ] [ (mkTuple [ 0.916588751323453 0.23387411976724018 ]) ] ]) ];
# } {
# location = mkVariant [ (mkUint32 2) (mkVariant [ "Shanghai" "ZSSS" true [ (mkTuple [ 0.5439609560226636 2.1194114825206833 ]) ] [ (mkTuple [ 0.544930573688609 2.119842980271654 ]) ] ]) ];
# } ];
# };
# "org/gnome/shell/world-clocks".locations = [ (mkVariant [ (mkUint32 2) (mkVariant [ "Seattle" "KBFI" true [ (mkTuple [ 0.8298313314533731 (-2.134775231953554) ]) ] [ (mkTuple [ 0.8308850914425572 (-2.135097419733472) ]) ] ]) ]) (mkVariant [ (mkUint32 2) (mkVariant [ "New York" "KNYC" true [ (mkTuple [ 0.7118034407872564 (-1.2909618758762367) ]) ] [ (mkTuple [ 0.7105980465926592 (-1.2916478949920254) ]) ] ]) ]) (mkVariant [ (mkUint32 2) (mkVariant [ "Berlin" "EDDT" true [ (mkTuple [ 0.9174614159494501 0.23241968454167572 ]) ] [ (mkTuple [ 0.916588751323453 0.23387411976724018 ]) ] ]) ]) (mkVariant [ (mkUint32 2) (mkVariant [ "Shanghai" "ZSSS" true [ (mkTuple [ 0.5439609560226636 2.1194114825206833 ]) ] [ (mkTuple [ 0.544930573688609 2.119842980271654 ]) ] ]) ]) ];
## Weather
# "org/gnome/Weather".locations = [ (mkVariant [ (mkUint32 2) (mkVariant [ "Seattle" "KBFI" true [ (mkTuple [ 0.8298313314533731 (-2.134775231953554) ]) ] [ (mkTuple [ 0.8308850914425572 (-2.135097419733472) ]) ] ]) ]) ];
# "org/gnome/shell/weather".locations = [ (mkVariant [ (mkUint32 2) (mkVariant [ "Seattle" "KBFI" true [ (mkTuple [ 0.8298313314533731 (-2.134775231953554) ]) ] [ (mkTuple [ 0.8308850914425572 (-2.135097419733472) ]) ] ]) ]) ];
| 19:13:33 |
| 6 Jan 2025 |
@mcnesium:exma.de | could you rephrase that answer to also answer my question regarding how to do it or rather how it is done? I am curious whether I can contribute somehow to make it happen | 11:26:52 |
Honnip | In reply to @mcnesium:exma.de could you rephrase that answer to also answer my question regarding how to do it or rather how it is done? I am curious whether I can contribute somehow to make it happen It's done in https://github.com/NixOS/nixpkgs/pull/364201 | 12:57:07 |
Jan Tojnar | here is the relevant docs https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome/extensions/README.md | 17:34:40 |
Salt | yeah, looks like my updates were pulled in, but that's fine, would just like to have a system that keeps extensions updated a bit more regularly | 17:45:20 |
Salt | I don't see anything there about updating a single extension | 17:46:39 |
@mcnesium:exma.de | thanks. so I clone nixpkgs to my local device, then run that python script, check the other file, and then do a regular merge request? | 17:47:25 |
Salt | yeah that does appear to be the correct steps for updating all of them | 17:47:54 |
Jan Tojnar | yeah, plus build nixosTests.gnome-extensions to check if they at least load – that should probably be listed in the readme | 18:07:22 |
| @jh-devv:matrix.org changed their display name from Sofie 🏳️⚧️ to jh-devv. | 19:00:27 |
| @jh-devv:matrix.org changed their display name from jh-devv to Sofie Halenius 🏳️⚧️. | 19:01:08 |
| @jh-devv:matrix.org changed their display name from Sofie Halenius 🏳️⚧️ to Sofie 🏳️⚧️. | 19:03:17 |
Salt | just ran through the process but as there weren't new collisions, so I'm not exactly sure what those steps will look like. Here's the general steps (I know, I know, oversimplified):
git clone --depth 1 git@github.com:NixOS/nixpkgs.git
cd nixpkgs/pkgs/desktops/gnome/extensions
git switch -c gnome-extensions
./update-extensions.py
git status (to check if there were new collisions)
cd ../../../../
nix-build -A nixosTests.gnome-extensions
git add pkgs/desktops/gnome/extensions/
git commit -m "gnomeExtensions: auto-update"
while these steps use the main repo, generally they should be followed on your own fork which, after the changes are pushed, can be used to open a Pull Request
| 21:46:25 |
Salt | (can folks tell I have an extension that I'd really like re-included lol) | 21:57:46 |
| 7 Jan 2025 |
| @mcnesium:matrix.org joined the room. | 18:24:38 |
| @mcnesium:exma.de left the room. | 18:24:52 |
@mcnesium:matrix.org | slightly OT: shouldn't this room also be in #space:nixos.org ? | 18:27:03 |
Salt | it is, it's within one of the subspaces | 18:31:07 |
@mcnesium:matrix.org | true. the search results were too slow I guess. | 18:32:29 |