Find a file
Georges Dubus aaa15ac77a Add context to strings
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.
2018-02-21 15:09:36 +01:00
benchmarks tests for comment parsing and parser benchmarks 2014-08-27 23:54:31 +02:00
data Add nix v1.10 as submodule 2018-02-15 12:06:09 +01:00
doc
main Import Nix.Expr so main/Main.hs compiles 2017-11-29 17:42:12 +08:00
Nix Add context to strings 2018-02-21 15:09:36 +01:00
tests Merge pull request #82 from layus/nix-test 2018-02-20 16:07:41 -08:00
.gitignore Add back *.nix files for the sake of Travis 2018-01-22 18:38:04 -08:00
.gitmodules Add nix v1.10 as submodule 2018-02-15 12:06:09 +01:00
.travis.yml .travis.yml: use default.nix instead of build.nix 2018-02-14 11:39:17 +08:00
default.nix Update default.nix 2018-02-15 12:06:09 +01:00
hnix.cabal Run lang tests from upstream 2018-02-15 12:06:09 +01:00
LICENSE Change LICENSE to BSD3 2016-12-18 17:10:06 -08:00
Makefile Merge {build,shell,default}.nix into default.nix 2018-01-28 21:58:33 +00:00
README.md Merge {build,shell,default}.nix into default.nix 2018-01-28 21:58:33 +00:00
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