Open worldofpeace opened 4 years ago
For now, in NixOS, we'll be removing the function entirely https://github.com/NixOS/nixpkgs/blob/b592c888ad84af149d6b00379940bd604ee2e47a/pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/0001-Remove-Install-Unlisted-Engines-function.patch
Yeah, Dan suggested me to use packagekit when I made the PR that adds the input method view, but I have no knowledge about it so I stolen the apt-based code from the locale plug… If we use packagekit we can provide this function not only NixOS but also other non-apt distros like Fedora.
Yeah, Dan suggested me to use packagekit when I made the PR that adds the input method view, but I have no knowledge about it so I stolen the apt-based code from the locale plug… If we use packagekit we can provide this function not only NixOS but also other non-apt distros like Fedora.
Yeah, I believe because of the code in the locale plug it remains unused/unpackaged on other distros. Yep, it will work on whatever platforms has a packagekit backend.
Prerequisites
Describe the bug
I'm on NixOS, which isn't going to have apt at all, and it appears to be programmed in a way that assumes an apt client exists. At the very least it could bail out with a dialog or only add the
Install Unlisted Engines
button if an apt client exists. I currently just get this error in the consoleTo Reproduce
Install Unlisted Engines
and select an engineExpected behavior
It's possible to use packagekitd this without being specific to Ubuntu. If it isn't present I shouldn't even be able to access this in the interface. (On a side note, nix will have support for packagekitd in Nix 3.0)
Platform Information