Skip to content

Commit 903ffa0

Browse files
committed
nix: Document usage.
1 parent 2010bb5 commit 903ffa0

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,18 @@ opam install -t --deps-only .
3333

3434
Then, you can use `make` to build the library, and `make examples` to build the
3535
example programs.
36+
37+
### Development using nix
38+
39+
wlroots-ocaml can be compiled with nix:
40+
41+
$ nix-build
42+
43+
To specify the version of wlroots - supported version are 0.12, 0.13 and 0.14:
44+
45+
$ nix-build --argstr wlroots-version 0.14
46+
47+
Open a nix shell with the program dependencies managed by nix:
48+
49+
$ nix-shell
50+
$ make

0 commit comments

Comments
 (0)