Find a file
John Wiegley de561b48da Prevent the argument to 'with' from being re-evaluated multiple times
This was the cause of the recent slowdown in running the tests
2018-04-09 02:08:27 -07:00
benchmarks
data Fix comment test 2018-04-05 21:55:34 -07:00
doc
main Allow expression trees to be deepseq'd 2018-04-09 02:07:40 -07:00
src Prevent the argument to 'with' from being re-evaluated multiple times 2018-04-09 02:08:27 -07:00
tests Refactor evaluation using a type class 2018-04-09 00:52:10 -07:00
.gitignore Add some things to .gitignore 2018-03-30 13:07:40 -04:00
.gitmodules Bump nix to a fork where we have a new test: eval-okay-nested-with 2018-03-30 15:47:09 -04:00
.travis.yml Drop support for GHC 8.0 2018-04-06 11:03:52 -07:00
default.nix Add hpack as a dependency 2018-04-07 18:25:13 -07:00
hnix.cabal Refactor evaluation using a type class 2018-04-09 00:52:10 -07:00
LICENSE
Makefile
package.yaml Add some commented-out performance-related flags to package.yaml 2018-04-09 02:07:58 -07:00
README.md Add a note to the README 2018-04-04 15:05:58 -07:00
Setup.hs

hnix

Haskell parser, evaluator and type checker for the Nix language.

Prerequisites

Nix is installed and in your $PATH. This is so that nix-store can be used for interacting with store paths, until hnix-store is ready.

Getting Started

$ git clone https://github.com/jwiegley/hnix.git
...
$ cd hnix
$ cabal2nix --shell . > default.nix
$ nix-shell
...
$ cabal test
...
$ cabal bench
...
$ ./dist/build/hnix/hnix --help

How you can help

If you're looking for a way to help out, try taking a look here. When you find an issue that looks interesting to you, comment on the ticket to let others know you're working on it; look for others who might have done the same. You can talk with everyone live on gitter.

When you're ready to submit a pull request, test it with:

git submodule update --init --recursive
nix-shell --run "LANGUAGE_TESTS=yes cabal test"

Make sure that all the tests that were passing prior to your PR are still passing afterwards; it's OK if no new tests are passing.