!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

404 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)90 Servers

Load older messages


SenderMessageTime
4 Jan 2025
@salt:sal.tdSalt joined the room.04:37:20
@salt:sal.tdSalt 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@kranzes:matrix.org left the room.15:30:11
5 Jan 2025
@jtojnar:matrix.orgJan TojnarThe keys need to be in a second level, see https://github.com/jtojnar/nixfiles/blob/a39624655dba4703fc0162b1412c5c34f04d2997/hosts/theo/configuration.nix#L544-L551 for an example19:06:26
@jtojnar:matrix.orgJan TojnarIt could probably be added. But generally, we will want to update all at the same time anyway.19:07:46
@salt:sal.tdSaltI 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:sal.tdSaltI tried to submit a PR to the open PR for a recent update but unsure if it has been noticed yet.19:10:24
@emilazy:matrix.orgemily 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
@jtojnar:matrix.orgJan Tojnar emily: should be good to go, I was waiting for ofborg-eval 19:11:16
@emilazy:matrix.orgemilyofborg died 😢19:11:24
@emilazy:matrix.orgemilyit's all about the GHA eval now19:11:30
@salt:sal.tdSalt

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@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:matrix.orgHonnip
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
@jtojnar:matrix.orgJan Tojnarhere is the relevant docs https://github.com/NixOS/nixpkgs/blob/master/pkgs/desktops/gnome/extensions/README.md17:34:40
@salt:sal.tdSaltyeah, 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 regularly17:45:20
@salt:sal.tdSaltI don't see anything there about updating a single extension17:46:39
@mcnesium:exma.de@mcnesium:exma.dethanks. 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:sal.tdSaltyeah that does appear to be the correct steps for updating all of them17:47:54
@jtojnar:matrix.orgJan 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@jh-devv:matrix.org changed their display name from Sofie 🏳️‍⚧️ to jh-devv.19:00:27
@jh-devv:matrix.org@jh-devv:matrix.org changed their display name from jh-devv to Sofie Halenius 🏳️‍⚧️.19:01:08
@jh-devv:matrix.org@jh-devv:matrix.org changed their display name from Sofie Halenius 🏳️‍⚧️ to Sofie 🏳️‍⚧️.19:03:17
@salt:sal.tdSalt

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:sal.tdSalt(can folks tell I have an extension that I'd really like re-included lol)21:57:46
7 Jan 2025
@mcnesium:matrix.org@mcnesium:matrix.org joined the room.18:24:38
@mcnesium:exma.de@mcnesium:exma.de left the room.18:24:52
@mcnesium:matrix.org@mcnesium:matrix.orgslightly OT: shouldn't this room also be in #space:nixos.org ?18:27:03
@salt:sal.tdSaltit is, it's within one of the subspaces18:31:07
@mcnesium:matrix.org@mcnesium:matrix.orgtrue. the search results were too slow I guess.18:32:29

Show newer messages


Back to Room ListRoom Version: 6