aaa15ac77a
This commit adds a `DList Text` to the NVStr constructor. This allows haskell code that generates string to give them a context, which will be tracked when the string in used. This allows, for example, to determine the dependencies of a derivation. |
||
---|---|---|
benchmarks | ||
data | ||
doc | ||
main | ||
Nix | ||
tests | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
default.nix | ||
hnix.cabal | ||
LICENSE | ||
Makefile | ||
README.md | ||
Setup.hs |
hnix
Haskell parser for Nix expression language.
Prerequisites
Nix is installed and in your $PATH
.
Tested with Nix v1.10.
Getting Started
$ git clone https://github.com/jwiegley/hnix.git
...
$ cd hnix
$ cabal2nix --shell . > default.nix
$ nix-shell
...
$ cabal test
...
$ cabal bench