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