Converting new NixOS-WSL install to a flake results in building mesa from sources #265
-
I am trying to switch a new instance of NxOS-WSL to a minimal flake (basically just added this repo to the inputs,
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Because if you want to use wslg, you probably want to have hardware acceleration https://github.com/nix-community/NixOS-WSL/blob/0982e9ab209aee459ed3331ab4eadbb4d8a023e1/modules/wsl-distro.nix#L71C11-L71C19 No idea why that isn't cached for you though. |
Beta Was this translation helpful? Give feedback.
-
It looks like I found the culprit - my
which enables |
Beta Was this translation helpful? Give feedback.
It looks like I found the culprit - my
configuration.nix
had these lineswhich enables
environment.noXlibs
with a disastrous effect on pretty much everything that needs X11. I think the result of putting those lines to the defaultconfiguration.nix
needs to be explained somewhere in the documentation. It looks I am not the only one who was bitten by that: #33.