Open MichaelBrunn3r opened 3 months ago
idk what can I do with this issue. This is a dependency error with OpenGL.
I thought as a hotfix there might be a possibility to wrap the binary with an environment that has that environment variable set. I'm not an expert on derivations, don't know if that's possible.
Otherwise, this should be fixed in the next release of plots
as the developers are already aware of it
Nice, I got an overlay working that just wraps the program and sets GDK_DEBUG=gl-prefer-gl
{
pkgs,
...
}: {
config = {
environment.systemPackages = with pkgs; [
plots
];
nixpkgs = {
overlays = [
(self: super: {
plots = super.plots.overrideAttrs (old: {
buildInputs = old.buildInputs ++ [pkgs.makeWrapper];
postInstall =
old.postInstall
or ""
+ ''
wrapProgram "$out/bin/plots" --set GDK_DEBUG gl-prefer-gl
'';
});
})
];
};
};
}
Now running plots
from the CLI or Gnome Shortcut works without issue 👍️
Describe the bug
plots
crashes upon startup with the error (it's massive, here is the relevant bit):Steps To Reproduce
plots
from24.05
orunstable
channel> plots
Expected behavior
Launch the
plots
App.Additional context
The project repo of
plots
already has a workardound (https://github.com/alexhuntley/Plots/issues/151):Notify maintainers
@sund3RRR
Metadata
Add a :+1: reaction to issues you find important.