Nix is a lie, and that's ok

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

Nix was designed to abandon the Filesystem Hierarchy Standard (FHS) for reproducibility, but graphics drivers expose a fundamental exception. Because user-space libraries like libGL.so must match the host kernel and GPU, NixOS and Home Manager introduce an intentional impurity: a global convention path at /run/opengl-driver/lib. This effectively re-introduces an FHS-style convention. Users running Nix on non-NixOS Linux distributions are left without this workaround, hitting the classic 'cannot open shared object file' error. Available workarounds include nixGL, manually setting $LD_LIBRARY_PATH, or symlinking host drivers to the expected path.

2m read timeFrom fzakaria.com
Post cover image
2 Comments

Sort: