| 18 Jul 2024 |
Atemu | * Though it's still an order of magnitude too small | 14:33:00 |
Atemu | * Though it'd still be an order of magnitude too small | 14:33:07 |
ElvishJerricco | ok, bisect done, and unless I mistakenly marked something as "good" that I shouldn't have, yea it's the ibus update | 15:00:56 |
ElvishJerricco | In reply to @atemu12:matrix.org You need IME for many languages I mean I'm just using the English (US) keyboard layout, with a pretty normal US keyboard | 15:01:19 |
K900 | Ouch | 15:01:22 |
K900 | So does Gnome just unconditionally enable ibus? | 15:01:35 |
ElvishJerricco | I don't see any options for outright disabling it in man configuration.nix | 15:02:17 |
K900 | It's probably in gnome settings somewhere | 15:02:35 |
K900 | Like you don't need to not install it | 15:02:42 |
K900 | You just need to not start it | 15:02:45 |
ElvishJerricco | I also don't see any reference to ibus in cd nixpkgs/nixos/modules; git grep ibus that would be relevant to me outside of il8n/input-method/ | 15:03:32 |
K900 | It's probably pulled in by gnome | 15:03:46 |
ElvishJerricco | * I also don't see any reference to ibus in cd nixpkgs/nixos/modules; git grep ibus that would be relevant to me outside of i18n/input-method/ | 15:03:55 |
K900 | It doesn't need to be installed separately | 15:03:59 |
ElvishJerricco | well this is perplexing. I'm trying to figure out which nixos module is adding ibus to my /run/current-system/sw/bin/ibus, but environment.systemPackages contains no packages with bin/ibus | 15:26:50 |
ElvishJerricco | ok this is actually spooky. ibus is just appearing in $toplevel/sw/bin/ out of absolutely nowhere | 15:52:56 |
ElvishJerricco | $ nix why-depends --all --derivation .#nixosConfigurations.jace.config.system.path .#nixosConfigurations.jace.pkgs.ibus
/nix/store/4xx7sij1w3hgjz1rlsl6404kw4hvlzb3-system-path.drv
├───/nix/store/5964axanjffvmjsr11ww2msch6qfdqby-gnome-control-center-46.3.drv
│ └───/nix/store/bwdzvs5fyfwsrik5kp4m4lpksvbyfcby-ibus-1.5.30.drv
├───/nix/store/hd6zryr89q7lqphmal8gfcgbvi3ljngp-gnome-shell-46.3.1.drv
│ └───/nix/store/bwdzvs5fyfwsrik5kp4m4lpksvbyfcby-ibus-1.5.30.drv
├───/nix/store/z9nwq6crliqsvlxcmwbf5fb7nll2jpg7-plasma-desktop-6.1.2.drv
│ └───/nix/store/bwdzvs5fyfwsrik5kp4m4lpksvbyfcby-ibus-1.5.30.drv
├───/nix/store/b18fpilmm9c6s5s01lk5swjr6abrnds9-gnome-browser-connector-42.1.drv
│ └───/nix/store/hd6zryr89q7lqphmal8gfcgbvi3ljngp-gnome-shell-46.3.1.drv
├───/nix/store/xjqamylvj4457rh0sircrc5s5zdwliql-kdeplasma-addons-6.1.2.drv
│ └───/nix/store/z9nwq6crliqsvlxcmwbf5fb7nll2jpg7-plasma-desktop-6.1.2.drv
└───/nix/store/yr3xrljqzadsxnch9dx95s6haf05yvlx-gnome-session-46.0.drv
└───/nix/store/hd6zryr89q7lqphmal8gfcgbvi3ljngp-gnome-shell-46.3.1.drv
$ nix path-info -r .#nixosConfigurations.jace.config.system.path | xargs -I {} find {} -name ibus
/nix/store/bihjaiciw8zaar6iikb04l7zqv95asf0-ibus-1.5.30/share/ibus
/nix/store/bihjaiciw8zaar6iikb04l7zqv95asf0-ibus-1.5.30/etc/dconf/profile/ibus
/nix/store/bihjaiciw8zaar6iikb04l7zqv95asf0-ibus-1.5.30/bin/ibus
/nix/store/mnbjmha35gkfj8hdhxsv1qa1jqmik91d-system-path/share/ibus
/nix/store/mnbjmha35gkfj8hdhxsv1qa1jqmik91d-system-path/bin/ibus
How can the output have a link to ibus if it isn't a direct build dependency and literally no other packages have a file named ibus?
| 15:55:08 |
Atemu | Take a look at the drv | 15:57:58 |
Atemu | Though, again, you should be able to disable ibus in GNOME | 15:58:12 |
Atemu | That part has nothing to do with NixOS | 15:58:21 |
Atemu | I remember that I had to explicitly enable an input source with dbus support when I was playing around with this years ago | 15:59:14 |
ElvishJerricco | In reply to @atemu12:matrix.org Though, again, you should be able to disable ibus in GNOME I'm not seeing anything like that | 16:06:00 |
Atemu | Is it a daemon? | 16:06:15 |
Atemu | 3s on the Arch wiki confirm it's indeed a daemon and that there was at least at some point a setting for it where I remember it | 16:07:19 |
ElvishJerricco | In reply to @atemu12:matrix.org Take a look at the drv I mean the drv is just a buildEnv. It should have pretty straightforward behavior | 16:07:21 |
Atemu | But you'd see whether it has the drv as an input and what it does with it | 16:07:49 |
Atemu | Trust me, taking a look at drv dumps is very helpful in cases like this | 16:08:01 |
ElvishJerricco | yea, there's org.freedesktop.IBus.session.GNOME.service | 16:08:08 |
ElvishJerricco | Atemu: i've already done that, and it's not in there, and it would have shown up as an immediate dependency in why-depends --derivation if it were | 16:08:27 |
ElvishJerricco | In reply to @atemu12:matrix.org 3s on the Arch wiki confirm it's indeed a daemon and that there was at least at some point a setting for it where I remember it "Settings > Keyboard > Input Sources" only has the "English (US)" keyboard, which can't be removed | 16:10:11 |