Commit graph

33 commits

Author SHA1 Message Date
John Wiegley c3eb7a94b9 Add basic support for quasi-quotation of Nix expressions in Haskell 2018-04-03 14:21:33 -07:00
John Wiegley d7228c6a75 Move language feature pragmas into each Haskell file, not .cabal 2018-04-01 22:49:12 -07:00
John Wiegley acc48c279b Add monadlist to default.nix 2018-04-01 20:56:57 -07:00
John Wiegley 852aff04e7 Break apart MonadNix, to allow greater flexibility in evaluators 2018-03-31 14:53:38 -07:00
John Wiegley d08ca26da0 Add informative backtraces on evaluation failure 2018-03-30 23:10:44 -07:00
John Wiegley 71b4bf5e8a Various fixes, and make imports local to their containing file 2018-03-30 01:50:19 -07:00
John Wiegley 4e698d76fa More fixes to lazy evaluation and scoping 2018-03-30 01:11:27 -07:00
John Wiegley 84918aa1d3 Remove the MonadFix requirement, it was not needed; fix NRecSet 2018-03-28 23:52:07 -07:00
John Wiegley b97378c581 Restore previous default.nix (mostly) 2018-03-28 15:13:02 -07:00
John Wiegley 39f772ef3c Restore monadic abstraction (to support importFile), fix attribute sets 2018-03-28 14:45:10 -07:00
John Wiegley 3a29249e43 Normalize import statements, add option parsing 2018-03-27 21:59:27 -07:00
John Wiegley 278916a9ab Further work on argument evaluation 2018-03-27 18:42:31 -07:00
Guillaume Maudoux 977e48ead5 Update default.nix 2018-02-15 12:06:09 +01:00
Domen Kožar b821021cac
Merge {build,shell,default}.nix into default.nix
cabal2nix generates all of them in one go.
2018-01-28 21:58:33 +00:00
John Wiegley 8b47c8b143 Add back *.nix files for the sake of Travis 2018-01-22 18:38:04 -08:00
John Wiegley 0bda6da9e1 Remove generated files 2018-01-22 11:51:06 -08:00
Profpatsch f72a083f0b default.nix: use default haskellPackages by default
sane defaults ;)
2017-04-21 03:53:35 +02:00
Joe Hermaszewski d3651984fb Add Show1 instances for base 4.9 2016-09-21 10:32:17 +01:00
Allen Nelson a876d49789 parseNixText function 2015-10-27 17:32:03 -05:00
Allen Nelson 892cad2b36 Correctly escape double quotes. Update nix files. Use quotes with reserved variable bindings 2015-10-15 18:38:06 -05:00
John Wiegley d678cf9cff Add data/* as Extra-source-files 2015-07-20 14:00:24 -07:00
John Wiegley 04f210c47e Bump version to 0.2.0 2015-06-23 16:50:03 -05:00
John Wiegley d68ba45367 Update default.nix 2015-06-22 20:47:07 -05:00
Benno Fünfstück 1b82727a17 Use data-fix for Fix and fix path parsing bug 2014-09-27 20:12:30 +02:00
John Wiegley 108800bb76 Update default.nix file 2014-08-28 14:46:21 -05:00
John Wiegley 748bebf965 Improvements to default.nix file 2014-08-02 11:08:46 -04:00
John Wiegley 92cf6eecf9 Switch from pretty to ansi-wl-pprint 2014-07-18 04:42:06 -05:00
Luca Bruno b12dc4f187 Pretty print nix expressions 2014-07-07 16:26:14 +02:00
John Wiegley bb3648cf73 Let is working, next is "if" syntax 2014-07-04 02:15:20 -05:00
John Wiegley 682f039023 Switch to a Parsec expression table 2014-07-01 03:11:26 -05:00
John Wiegley 9b12ebf081 Break up Parser.hs, make use of Parsec optional 2014-06-30 23:12:18 -05:00
John Wiegley 29909a2598 Setup cabal file, fix all warnings
The next step is splitting up and prettifying Parser.hs
2014-06-30 22:37:20 -05:00
John Wiegley 7d8615aaf7 First revision 2014-06-28 16:30:47 -07:00