| 8 Dec 2021 |
hpfr | so nixpkgs.config doesn't cause a rebuild from source? | 00:33:50 |
Jan Tojnar | also it can be updated faster | 00:33:52 |
Jan Tojnar | it does, but only of the wrapper | 00:34:06 |
hpfr | oh, ok | 00:34:14 |
hpfr | are things just added to nixpkgs.config when it seems like they're common enough? as opposed to normal overlays | 00:35:05 |
Jan Tojnar | it probably depends on the maintainer | 00:35:36 |
Jan Tojnar | personally, I do not like to use it | 00:35:49 |
hpfr | I see | 00:36:58 |
Jan Tojnar | I just pass the arguments directly: https://github.com/jtojnar/nixfiles/blob/4d112f1b5eeaf0cf65f28419118f5194a93162b4/hosts/theo/configuration.nix#L143-L147 | 00:37:14 |
hpfr | I think I'm going to have to do an overlay of the wrapper anyway to add pkgs.gnomeExtensions.gsconnect to extraNativeMessagingHosts, right? | 00:37:51 |
Jan Tojnar | since nixpkgs.config does not even work with the way I instantiate packages | 00:37:52 |
hpfr | why not? | 00:38:06 |
hpfr | looks like you're using environment.systemPackages | 00:38:22 |
Jan Tojnar | nixpkgs.config work by having the module system instantiate pkgs, I do it myself | 00:39:02 |
Jan Tojnar | * nixpkgs.config works by having the module system instantiate pkgs, I do it myself | 00:39:12 |
hpfr | oh | 00:39:31 |
Jan Tojnar | I guess I could do
(firefox-wayland.override (args: args // {
cfg = args.cfg or {} // config.nixpkgs.config.firefox;
}))
| 00:41:08 |
Jan 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 | 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 | 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 | https://github.com/NixOS/nixpkgs/blob/3173e260e8cc39d64af753edb2bbdc01039c7efb/pkgs/applications/networking/browsers/firefox/wrapper.nix#L64 | 00:55:34 |
hpfr | 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 |
Jan 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 |
Jan 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 |
| Tyler joined the room. | 04:19:20 |
Tyler | 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 or how to add configuration options to it.
Would appreciate some help. | 04:23:02 |
Tyler | * 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 | 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 | 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 | * ~~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 |