on master help sign in
add notes on dev under NixOS
commit8c2f66de0e13660b192a3b6555df785614c7894f authorCorey O'Connor <coreyoconnor@gmail.com> dateSun 21 Sep 2014, 14:51 (12 years ago) parentfe8b129
1 file changed+11−1
README.md+11−1
README.md+11−1
@@ -43,7 +43,7 @@ git clone git://github.com/coreyoconnor/vty.git
4343 ansi. This means that some terminals will not have correct special key support (shifted F10 etc)
4444
4545* Uses the TIOCGWINSZ ioctl to find the current window size, which
46− appears to be limited to Linux and *BSD.
46+ appears to be limited to Linux and BSD.
4747
4848# Platform Support
4949
@@ -58,6 +58,16 @@ None!
5858
5959# Development Notes
6060
61+## Under NixOS
62+
63+After installing ncurses to user env.
64+
65+~~~
66+LIBRARY_PATH=$HOME/.nix-profile/lib/ cabal configure --enable-tests --extra-lib-dirs=$HOME/.nix-profile/lib
67+LIBRARY_PATH=$HOME/.nix-profile/lib/ cabal build
68+LIBRARY_PATH=$HOME/.nix-profile/lib/ cabal test
69+~~~
70+
6171## Coverage
6272
6373Profiling appears to cause issues with coverage when enabled. To evaluate coverage configure as