Jump to content

Nixpkgs with OpenGL on non-NixOS: Difference between revisions

From Official NixOS Wiki
Ccd (talk | contribs)
Update the list of options and add a comparison table.
Woile (talk | contribs)
m nixgl has a LICENSE
 
Line 1: Line 1:
Applications in `nixpkgs` handle OpenGL in a certain way.
Applications in `nixpkgs` handle OpenGL in a certain way.
Using these applications outside of NixOS requires the use of a wrapper.
Using these applications outside NixOS requires the use of a wrapper.


== Solutions ==
== Solutions ==
Line 45: Line 45:
|-
|-
| License
| License
| style="text-align:center;" | ❌ None
| style="text-align:center;" | MIT
| style="text-align:center;" | Apache-2.0
| style="text-align:center;" | Apache-2.0
| style="text-align:center;" | MIT
| style="text-align:center;" | MIT

Latest revision as of 06:49, 29 May 2026

Applications in `nixpkgs` handle OpenGL in a certain way. Using these applications outside NixOS requires the use of a wrapper.

Solutions

Driver Support NixGL nix-gl-host nix-system-graphics
AMD (mesa)
Intel (mesa)
Nvidia (nouveau)
Nvidia (proprietary) ⚠️ Must be manually set to match OS driver version
Functionality
Graphical programs from nix ⚠️ Must be manually wrapped
Graphical programs from host (non-nix)

(e.g. launch non-nix web browser from nixpkgs#kitty)

❌ Broken
License MIT Apache-2.0 MIT