Skip to content

Commit d91cf51

Browse files
committed
readme: update the instructions for NixOS with the correct ones
1 parent c219494 commit d91cf51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +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`
198+
For NixOS, add these packages in your `environment.systemPackages`:
199+
`xorg.libX11.dev xorg.libXcursor.dev xorg.libXi.dev libGL.dev`
200200

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

0 commit comments

Comments
 (0)