| 1 Sep 2021 |
Jan Tojnar | repro, which works with Nix stable but not unstable: https://gist.github.com/jtojnar/e57de7620fdd9b7057f464f44cb3d23a | 15:41:18 |
| Orpheus joined the room. | 18:09:08 |
| Orpheus left the room. | 20:10:15 |
| El_Zarco joined the room. | 21:08:48 |
| El_Zarco left the room. | 21:09:13 |
| El_Zarco joined the room. | 21:11:48 |
| 2 Sep 2021 |
schuelermine | As I understand it, with something means that following references will be interpreted as something. + that name. Does this also apply to nested names? If I say with x; y.z, does this act as y.z or x.y.z? | 19:16:01 |
Jez (he/him) | no quite: with x; brings all the attributes of x into scope in addition to everything that was already in scope | 19:18:42 |
ilkecan | According to this https://nixos.org/manual/nix/stable/#idm140737321903120, bindings from with doesn't shadow previous ones, so I would expect y.z to have precedence over x.y.z if both exists. But you could easily test this. | 19:19:51 |
Jez (he/him) | ah, that's useful, I'd been assuming it was the other way round | 19:20:26 |
schuelermine | OK, so I can use
environment.gnome.excludePackages = with pkgs; [ gnome.gnome-sound-recorder, xterm ]
```?
| 19:21:39 |
schuelermine | * OK, so I can use
environment.gnome.excludePackages = with pkgs; [ gnome.gnome-sound-recorder, xterm ]
| 19:21:44 |
schuelermine | * OK, so I can use
environment.gnome.excludePackages = with pkgs; [
gnome.gnome-sound-recorder
xterm
]
| 19:21:58 |
schuelermine | would that be correct? | 19:22:11 |
schuelermine | in a nixos configuration file | 19:22:27 |
ilkecan |  Download image.png | 19:22:50 |
schuelermine | OK | 19:24:06 |
ilkecan | In reply to @schuelermine:matrix.org
OK, so I can use
environment.gnome.excludePackages = with pkgs; [
gnome.gnome-sound-recorder
xterm
]
Sorry, but I couldn't understand how this example and your initial question is related. | 19:30:03 |
schuelermine | I was thinking that this might not work, because it’d look for a variable called gnome in the global scope. | 19:30:36 |
schuelermine | However, this conversation has reassured me that it will likely work (since there is no such variable) | 19:30:56 |
Jan Tojnar | schuelermine: yeah, but that option will not remove xterm | 20:32:25 |
Jan Tojnar | it only affects the packages (and not even all) installed by the GNOME NixOS module | 20:33:05 |
schuelermine | oh | 20:52:17 |
schuelermine | how can I remove xterm? | 20:52:24 |
schuelermine | I don’t want it | 20:52:27 |
Jan Tojnar | look for xterm in options search | 21:48:28 |
Jan Tojnar | * schuelermine: look for xterm in options search | 21:49:10 |
schuelermine | sadly no option that relates directly to xterm | 21:49:31 |
Jan Tojnar | there definitely is one | 21:54:49 |
Jan Tojnar | in desktopManagers IIRC | 21:54:58 |