!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
8 Dec 2021
@hpfr:matrix.orghpfr looks like you're using environment.systemPackages 00:38:22
@jtojnar:matrix.orgJan Tojnar nixpkgs.config work by having the module system instantiate pkgs, I do it myself 00:39:02
@jtojnar:matrix.orgJan Tojnar * nixpkgs.config works by having the module system instantiate pkgs, I do it myself 00:39:12
@hpfr:matrix.orghpfroh00:39:31
@jtojnar:matrix.orgJan Tojnar

I guess I could do

(firefox-wayland.override (args: args // {
   cfg = args.cfg or {} // config.nixpkgs.config.firefox;
}))
00:41:08
@jtojnar:matrix.orgJan Tojnar
In reply to @hpfr:matrix.org
I think I'm going to have to do an overlay of the wrapper anyway to add pkgs.gnomeExtensions.gsconnect to extraNativeMessagingHosts, right?
oh right, that is not actually obtained from config – I think that is inconsistency that could be fixed
00:45:13
@hpfr:matrix.orghpfr it looks like there is a pkgs.wrapFirefox I'm probably gonna use to add pkgs.gnomeExtensions.gsconnect https://nixos.wiki/wiki/Firefox 00:45:31
@hpfr:matrix.orghpfr Jan Tojnar: in the firefox wrapper you linked, why do they sometimes or booleans with false? isn't that a no op? they do it for like half of the lib.optional calls around there but not all of them? 00:55:13
@hpfr:matrix.orghpfrhttps://github.com/NixOS/nixpkgs/blob/3173e260e8cc39d64af753edb2bbdc01039c7efb/pkgs/applications/networking/browsers/firefox/wrapper.nix#L6400:55:34
@hpfr:matrix.orghpfr actually they do it for all the booleans from config, so I guess those can be null when undefined? I figured they'd just be false... 00:56:33
@jtojnar:matrix.orgJan Tojnar
In reply to @hpfr:matrix.org
actually they do it for all the booleans from config, so I guess those can be null when undefined? I figured they'd just be false...
it is a part of the attribute access syntax (the EBNF is<set> '.' <attr> ['or' <fallback>), you would get attribute missing error otherwise
01:28:30
@jtojnar:matrix.orgJan Tojnar
In reply to @hpfr:matrix.org
actually they do it for all the booleans from config, so I guess those can be null when undefined? I figured they'd just be false...
* it is a part of the attribute access syntax (the EBNF is<set> '.' <attr> ['or' <fallback>]), you would get attribute missing error otherwise
01:28:47
@illoqiq:matrix.orgTyler joined the room.04:19:20
@illoqiq:matrix.orgTylerHi. New here, and pretty new to Nix altogether. I'm trying to build libvte from github (devel version) with sixel enabled. I've looked at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/vte/default.nix, but it's not at all clear where the actual meson call or how to add configuration options to it. Would appreciate some help.04:23:02
@illoqiq:matrix.orgTyler * Hi. New here, and pretty new to Nix altogether. I'm trying to build libvte from github (devel version) with sixel enabled. I've looked at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/vte/default.nix, but it's not at all clear where the actual meson call is or how to add configuration options to it. Would appreciate some help.04:23:29
@hpfr:matrix.orghpfr
In reply to @jtojnar:matrix.org
you can just set it in nixpkgs.config https://github.com/NixOS/nixpkgs/blob/25a431819b54389580f629e1e2e6fdbc4d8632d4/nixos/modules/services/desktops/gnome/chrome-gnome-shell.nix#L39
on second glance it looks like this enableGnomeExtensions option just adds chrome-gnome-shell as a firefox native messenger, which just allows for installing gnome extensions from a browser, which I think I wouldn't even want to do because I want them in my NixOS config? to clarify, I already have GSConnect installed via my NixOS config. also, I think that's already enabled since the gnome module enables chrome-gnome-shell as part of core-shell
04:37:59
@hpfr:matrix.orghpfr anyway, I wrapped firefox with tridactyl-native and gnomeExtensions.gsconnect as native messengers, but Tridactyl still thinks the native messenger isn't installed. I install Firefox extensions through Firefox, do I have to install them via Nix to get everything working? it doesn't seem like it since the GSConnect Firefox extension now seems to somewhat work 04:39:40
@hpfr:matrix.orghpfr * ~~anyway, I wrapped firefox with tridactyl-native and gnomeExtensions.gsconnect as native messengers, but Tridactyl still thinks the native messenger isn't installed. I install Firefox extensions through Firefox, do I have to install them via Nix to get everything working? it doesn't seem like it since the GSConnect Firefox extension now seems to somewhat work~~ not a config issue. tridactyl has moved to a new native messenger, so nix's package is out of date 05:16:04
@hpfr:matrix.orghpfr * anyway, I wrapped firefox with tridactyl-native and gnomeExtensions.gsconnect as native messengers, but Tridactyl still thinks the native messenger isn't installed. I install Firefox extensions through Firefox, do I have to install them via Nix to get everything working? it doesn't seem like it since the GSConnect Firefox extension now seems to somewhat work not a config issue. tridactyl has moved to a new native messenger, so nix's package is out of date 05:16:21
@jtojnar:matrix.orgJan Tojnar
In reply to @hpfr:matrix.org
on second glance it looks like this enableGnomeExtensions option just adds chrome-gnome-shell as a firefox native messenger, which just allows for installing gnome extensions from a browser, which I think I wouldn't even want to do because I want them in my NixOS config? to clarify, I already have GSConnect installed via my NixOS config. also, I think that's already enabled since the gnome module enables chrome-gnome-shell as part of core-shell
yeah, I was mistaken, extraNativeMessagingHosts cannot be set through nixpkgs.config
09:53:35
@hpfr:matrix.orghpfrthanks for the info16:00:15
9 Dec 2021
@uep:matrix.orguepSuddenly display-manager is failing 01:27:21
@uep:matrix.orguep"Oh no! Something has gone wrong."01:27:51
@uep:matrix.orgueprolling back to a previous generation (including the previous last-booted one) doesn't help, so there's some persistent state somewhere that's mangled01:28:35
@uep:matrix.orguep

Some of these are not new errors, but.. seems bad..

Dec 09 12:35:38 oenone systemd[1]: Starting X11 Server...
Dec 09 12:35:38 oenone systemd[1]: Started X11 Server.
Dec 09 12:35:38 oenone systemd-logind[3083]: New session c5 of user gdm.
Dec 09 12:35:38 oenone systemd[1]: Started Session c5 of User gdm.
Dec 09 12:35:38 oenone gnome-session[49084]: gnome-session-binary[49084]: WARNING: Failed to upload environment to systemd: >
Dec 09 12:35:38 oenone gnome-session-binary[49084]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freede>
Dec 09 12:35:38 oenone gnome-session[49084]: gnome-session-binary[49084]: WARNING: Failed to reset failed state of units: GD>
Dec 09 12:35:38 oenone gnome-session-binary[49084]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesk>
Dec 09 12:35:38 oenone gnome-session[49084]: gnome-session-binary[49084]: WARNING: Falling back to non-systemd startup proce>
Dec 09 12:35:38 oenone gnome-session-binary[49084]: WARNING: Falling back to non-systemd startup procedure due to error: GDB>
Dec 09 12:35:38 oenone gnome-session-binary[49084]: Entering running state
Dec 09 12:35:38 oenone gnome-session[49092]: Unable to init server: Could not connect: Connection refused
Dec 09 12:35:38 oenone gnome-session-f[49092]: Cannot open display: 
Dec 09 12:35:39 oenone /nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-wayland-session[49083]: dbus-daemon[>
Dec 09 12:35:39 oenone /nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-wayland-session[49083]: dbus-daemon[>
Dec 09 12:35:39 oenone gdm[49071]: Gdm: GdmDisplay: Session never registered, failing
Dec 09 12:35:39 oenone gdm-launch-environment][49075]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dec 09 12:35:39 oenone systemd[1]: session-c5.scope: Deactivated successfully.
Dec 09 12:35:39 oenone systemd-logind[3083]: Session c5 logged out. Waiting for processes to exit.
Dec 09 12:35:39 oenone systemd-logind[3083]: Removed session c5.
Dec 09 12:35:39 oenone gdm[49071]: Gdm: Child process -49079 was already dead.
Dec 09 12:35:39 oenone gdm[49071]: Gdm: GdmDisplay: Session never registered, failing
Dec 09 12:35:39 oenone gdm[49071]: Gdm: Child process -49079 was already dead.
Dec 09 12:35:39 oenone systemd-logind[3083]: New session c6 of user gdm.
Dec 09 12:35:39 oenone systemd[1]: Started Session c6 of User gdm.
01:39:11
@uep:matrix.orguepthen it goes on with a bunch of X server startup (which is annoying because it should be all wayland)01:39:40
@uep:matrix.orguep *

Some of these are not new errors, but.. seems bad..

Dec 09 12:42:04 oenone systemd[1]: Starting X11 Server...
Dec 09 12:42:04 oenone systemd[1]: Started X11 Server.
Dec 09 12:42:04 oenone systemd-logind[3083]: New session c7 of user gdm.
Dec 09 12:42:04 oenone systemd[1]: Started Session c7 of User gdm.
Dec 09 12:42:04 oenone gnome-session[50328]: gnome-session-binary[50328]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Dec 09 12:42:04 oenone gnome-session-binary[50328]: WARNING: Failed to upload environment to systemd: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Dec 09 12:42:04 oenone gnome-session[50328]: gnome-session-binary[50328]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Dec 09 12:42:04 oenone gnome-session-binary[50328]: WARNING: Failed to reset failed state of units: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Dec 09 12:42:04 oenone gnome-session[50328]: gnome-session-binary[50328]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Dec 09 12:42:04 oenone gnome-session-binary[50328]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.freedesktop.systemd1" does not exist
Dec 09 12:42:04 oenone gnome-session-binary[50328]: Entering running state
Dec 09 12:42:04 oenone gnome-session[50336]: Unable to init server: Could not connect: Connection refused
Dec 09 12:42:04 oenone gnome-session-f[50336]: Cannot open display: 
Dec 09 12:42:05 oenone /nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-wayland-session[50327]: dbus-daemon[50327]: [session uid=132 pid=50327] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=132 pid=50328 comm="/nix/store/p1n9zjyh727r1j5p2nnypy2wc6zjsbwr-gnome-" label="kernel")
Dec 09 12:42:05 oenone /nix/store/8c92zvlflv5gka582d5svbmbvmyww03q-gdm-41.0/libexec/gdm-wayland-session[50327]: dbus-daemon[50327]: [session uid=132 pid=50327] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Dec 09 12:42:05 oenone gdm[50315]: Gdm: GdmDisplay: Session never registered, failing
Dec 09 12:42:05 oenone gdm-launch-environment][50319]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Dec 09 12:42:05 oenone systemd[1]: session-c7.scope: Deactivated successfully.
Dec 09 12:42:05 oenone systemd-logind[3083]: Session c7 logged out. Waiting for processes to exit.
Dec 09 12:42:05 oenone systemd-logind[3083]: Removed session c7.
Dec 09 12:42:05 oenone gdm[50315]: Gdm: Child process -50323 was already dead.
Dec 09 12:42:05 oenone gdm[50315]: Gdm: GdmDisplay: Session never registered, failing
Dec 09 12:42:05 oenone gdm[50315]: Gdm: Child process -50323 was already dead.

01:44:06
@uep:matrix.orguep

and then a repeat of the above, then the fail-whale screen with:

Dec 09 12:42:06 oenone gnome-session-binary[50397]: Entering running state
Dec 09 12:42:06 oenone gnome-session-f[50453]: Could not find the icon 'computer-fail-symbolic'. The 'hicolor' theme
                                               was not found either, perhaps you need to install it.
                                               You can get a copy from:
                                                       http://icon-theme.freedesktop.org/releases

just for extra humour value

01:45:29
@uep:matrix.orguep
In reply to @uep:matrix.org
rolling back to a previous generation (including the previous last-booted one) doesn't help, so there's some persistent state somewhere that's mangled
Oh! Not quite true. Rolling back (nixos-rebuild switch --rollback) and restarting display-manager.service wasn't working, but rolling back and rebooting works
02:07:08
@uep:matrix.orguep phew 02:07:11

There are no newer messages yet.


Back to Room ListRoom Version: 6