Commit graph

11 commits

Author SHA1 Message Date
Profpatsch 8b4c137a3b Shorthands.hs, mkDot/mkDots: automatically quote non-symbols
Nix can accept (nearly?) arbitrary values as attributes, if they are quoted in
strings. So generating “dots” should always result in valid nix attributes.
This uses the same regex as the nix lexer (as of 1.11).

Also add a few tests whether it correctly generates symbol/non-symbol
attributes.
2017-04-21 03:54:06 +02:00
Rickard Nilsson 386c472cc7 Bump to 0.3.4 2016-10-20 22:04:00 +02:00
John Wiegley 2f06b934ef
Bump to 0.3.3 2016-10-03 20:10:35 -07:00
John Wiegley 2c88bdb9e4 Merge pull request #42 from expipiplus1/ghc8
Add Show1 instances for base 4.9
2016-10-03 20:05:30 -07:00
John Wiegley 6769a2f007
Update version to 0.3.2 2016-10-03 10:07:20 -07:00
Joe Hermaszewski d3651984fb Add Show1 instances for base 4.9 2016-09-21 10:32:17 +01:00
Joe Hermaszewski 0f180164e5 Bump version, slight changes to project.nix 2016-06-25 16:14:19 +01:00
Susan Potter 783a5a5475 Add criterion dependency for benchmarking 2016-02-07 17:53:22 -06:00
Allen Nelson 80a7dcb684 bump version, separate back out different kinds of params 2016-01-23 18:11:26 -06: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