2016-02-08 00:53:22 +01:00
|
|
|
# hnix
|
|
|
|
|
|
|
|
Haskell parser for Nix expression language.
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
Nix is installed and in your `$PATH`.
|
|
|
|
Tested with Nix v1.10.
|
|
|
|
|
|
|
|
## 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
|
|
|
|
```
|
|
|
|
|