New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qutebrowser installed by home-manager doesn't start: could not initialize GLX #1315
Comments
That's a general problem with gpu drivers in Nix on non-NixOS. You can try https://github.com/guibou/nixGL/ as a workaround. |
Your other options are:
self: super: {
qutebrowser = pkgs.writeShellScriptBin "qutebrowser" ''
/usr/bin/qutebrowser "$@"
'';
} It's kinda dirty, but should work as long as no files from original derivation are required. |
Ah. I guess I can just override the .desktop file. What'd be great though is if there were a way to skip installation of the package. Something like |
some modules have a package option that can be set to null. |
How hard would it be to add one of those options? Sounds useful.
…On Wed, Jun 10, 2020 at 6:47 PM Matthieu Coudron ***@***.***> wrote:
some modules have a package option that can be set to null.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1315 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOCDXAJWVY23VK7EZWYBJDRWAEP3ANCNFSM4NY7HBHQ>
.
|
Not hard at all. For example, see: https://github.com/rycee/home-manager/blob/master/modules/services/polybar.nix#L35-L48 |
This will allow users of Nix on non-NixOS to specify None as their qutebrowser package, thereby allowing them to use home-manager to handle their qutebrowser config, while running their system-wide installed copy of qutebrowser instead of the Nix-installed one. This is necessary, because of what is described in nix-community#1315: sometimes Nix-installed Qutebrowser fails to start, because of GLX issues. Fixes nix-community#1315.
Ok I'm not an expert in Nix, but PR #1334 is my attempt at that. |
Issue description
With
programs.qutebrowser.enable = true
, and using home-manager on Ubuntu, qutebrowser doesn't start, complaining that it can't initialize GLX.To be honest, I don't really want home-manager to manage my installation of Qutebrowser, which is probably better done by my system—I just want it to manage my Qutebrowser configs. It'd be great if it were possible to have one but not the other.
FWIW, I can run Qutebrowser through my host system just fine, with
/usr/bin/qutebrowser
. But home-manager's version doesn't work.The full error message is:
Technical details
"x86_64-linux"
Linux 5.4.0-7634-generic, Pop!_OS, 20.04 LTS
no
yes
nix-env (Nix) 2.3.6
"home-manager, nixpkgs-20.09pre228453.dcb64ea42e6"
/home/jon/.nix-defexpr/channels/nixpkgs
The text was updated successfully, but these errors were encountered: