Skip to content

Commit c219494

Browse files
committed
readme: add instructions for installing the libraries needed for the graphics examples on NixOS
1 parent f71572a commit c219494

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ For some Linux distros (Debian/Ubuntu based), you need to run this:
195195
`sudo apt install libxi-dev libxcursor-dev`.
196196
For Fedora/RH/CentOS, you need to run this:
197197
`sudo dnf install libXcursor-devel libXi-devel libX11-devel libglvnd-devel` .
198+
For NixOS, you need to run this:
199+
`nix-shell -p xorg.libX11.dev xorg.libXcursor.dev xorg.libXi.dev libGL.dev`
198200

199201
## V net.http, net.websocket, `v install`
200202
The net.http module, the net.websocket module, and the `v install` command may all use SSL.

0 commit comments

Comments
 (0)