Hello,
As of today, I am unable to launch rstudio. I get the error
❯ rstudio
[10077:0706/092223.868431:ERROR:ui/gl/init/gl_factory.cc:103] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default)].
[10077:0706/092223.869340:ERROR:components/viz/service/main/viz_main_impl.cc:183] Exiting GPU process due to errors during initialization
/bin/sh: line 1: /usr/bin/which: No such file or directory
Segmentation fault (core dumped)
when using this flake
{
description = "A basic flake with a shell for R";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.systems.url = "github:nix-systems/default";
inputs.flake-utils = {
url = "github:numtide/flake-utils";
inputs.systems.follows = "systems";
};
outputs =
{ nixpkgs, flake-utils, ... }:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
in
{
devShells.default = pkgs.mkShell {
nativeBuildInputs = [ pkgs.bashInteractive ];
buildInputs = with pkgs; [
R
quarto
chromium
pandoc
texlive.combined.scheme-full
rstudio
(with rPackages; [
quarto
pagedown
tidyverse
pryr
ropenblas
gt
janitor
lobstr
memoise
DiagrammeR
rio
feather
WDI
#png
#palmerpenguins
styler
profvis
microbenchmark
benchmarkme
Rcpp
swirl
bookdown
])
];
};
}
);
}
Any help would be appreciated, thank you.