Commit Graph

46 Commits (4b2827e6a180274a4df35f0754cc6353ca853998)

Author SHA1 Message Date
Maximilian Bosch 7203788068
lib/generators: withRecursion: don't break attr-sets with special attrs 2 years ago
Profpatsch 626ecc7bd7 lib.generators: fix references to test file 2 years ago
Profpatsch ab03ddc8f4 lib.generators: add toINIWithGlobalSection 2 years ago
Maximilian Bosch 681758d415
lib/generators: fix error message 3 years ago
zimbatm f882fbcee0
lib.generators.toINI: serialize derivations to string 3 years ago
zimbatm 9e90a400a5
lib.generators.toGitINI: don't traverse derivations 3 years ago
Maximilian Bosch 5773ae93f7
lib/generators: move limit detection into `withRecursion` 3 years ago
Maximilian Bosch 55ea29fd8c
lib/generators/toPretty: add evaluation-limit 3 years ago
Silvan Mosberger 307c0237d7 lib.generators: Handle no drvPath in toPretty 3 years ago
Emery Hemingway 1cd48efa96 lib/generators: add toDhall 3 years ago
sternenseemann 06d3b28987 Revert "lib/generators: fix toPretty throwing on (partially applied) builtins" 3 years ago
sternenseemann d9a7d03da8 lib/generators: fix toPretty throwing on (partially applied) builtins 3 years ago
Silvan Mosberger 15c5ba9d28
lib/generators.toPretty: functors should print as functions 4 years ago
Silvan Mosberger 05e4d371ef
lib/generators.toPretty: Print [] and {} compactly 4 years ago
Silvan Mosberger d0be9e9810
lib/generators.toPretty: Switch away from δ and λ 4 years ago
Silvan Mosberger 073e9b2aed
lib/generators.toPretty: Improved string printing, handling newlines 4 years ago
Silvan Mosberger 47f2eb89c1
lib/generators.toPretty: Implement multiline printing 4 years ago
Silvan Mosberger 4811f54e94
lib/generators.toPretty: Wrap in a go function 4 years ago
Silvan Mosberger 0f6231702f
lib/generators.toPretty: Only quote attribute names if necessary 4 years ago
Silvan Mosberger 9df69cba05
lib/generators: Extend mkValueStringDefault with float support 4 years ago
zimbatm 10c96e5b60
lib.generators: add toGitINI 4 years ago
Silvan Mosberger 575354babf
lib/generators: Add toINI option for duplicate keys 4 years ago
Profpatsch 18520b7f36 lib/generators: floats are not supported in mkValueStringDefault 4 years ago
Daniel Schaefer 786f02f7a4 treewide: Remove usage of isNull 5 years ago
Léo Gaspard 455e0ed885 generators: make toPretty handle floats correctly 6 years ago
volth 87f5930c3f [bot]: remove unreferenced code 6 years ago
Matthew Bauer dc72e8ac06 lib.generators.toPlist: add floats 6 years ago
Matthew Bauer 337b58950b generators: refactor toPlist 6 years ago
Matthew Bauer d361371d23 generators: refactor toPLIST 6 years ago
Matthew Bauer 3210dd3039 generators: add PLIST handling 6 years ago
Profpatsch c84dad316a lib/generators: print paths without quotes & move function down 6 years ago
Profpatsch fa71407f36 lib/generators: introduce a sane default for `mkValueString` 6 years ago
Profpatsch a7e45fdd8e lib/generators: improve documentation a bit 6 years ago
Profpatsch 219ba583b2 lib/generators: improve toPretty 6 years ago
Shea Levy 943592f698
Add setFunctionArgs lib function. 6 years ago
Profpatsch 319722113e lib/generators: abort on pattern match failure 6 years ago
Profpatsch 8e00dcd242 lib/generators: add mkValueString to mkKeyValueDefault generator 7 years ago
Graham Christensen 152c63c9ff
Convert libs to a fixed-point 7 years ago
Profpatsch 5cbc6ca9bb lib/generators: put more information in toPretty lambdas 7 years ago
Profpatsch b1ffe5e4c0 lib/generators: toPretty 7 years ago
Profpatsch 271c0f5451 lib/generators: mkKeyValueLine -> mkKeyValueLine (#20920) 8 years ago
Profpatsch ea412cd5a1 lib/generators: add toKeyValue & mkKeyValueLine (#20903) 8 years ago
Profpatsch 53fc7b8272 lib/generators: add manual documentation 8 years ago
Profpatsch 26eb10e771 lib: add generator functions for toJSON & toYAML 8 years ago
Profpatsch 61311665cb lib: add ini configuration generator 8 years ago