2016-02-08 00:53:22 +01:00
|
|
|
# hnix
|
|
|
|
|
2018-04-03 09:33:30 +02:00
|
|
|
Haskell parser, evaluator and type checker for the Nix language.
|
2016-02-08 00:53:22 +01:00
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
Nix is installed and in your `$PATH`.
|
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
|
|
|
```bash
|
2016-12-21 06:13:54 +01:00
|
|
|
$ git clone https://github.com/jwiegley/hnix.git
|
2016-02-08 00:53:22 +01:00
|
|
|
...
|
|
|
|
$ cd hnix
|
2018-01-28 22:58:33 +01:00
|
|
|
$ cabal2nix --shell . > default.nix
|
2016-02-08 00:53:22 +01:00
|
|
|
$ nix-shell
|
|
|
|
...
|
|
|
|
$ cabal test
|
|
|
|
...
|
|
|
|
$ cabal bench
|
2018-04-03 09:33:30 +02:00
|
|
|
...
|
|
|
|
$ ./dist/build/hnix/hnix --help
|
2016-02-08 00:53:22 +01:00
|
|
|
```
|
|
|
|
|