1
0
mirror of https://github.com/h7x4/nix-attr-search.git synced 2024-12-22 20:17:30 +01:00
Commit Graph

8 Commits

Author SHA1 Message Date
33fcdf7ab9
xmldoc2txt: parse more tags
- Document some functions
- Parse `<envar>`
- Parse `<citerefentry>`
2022-11-29 19:49:03 +01:00
d94dc97394
xmldoc2txt: fix case where multiple <para> are present 2022-11-29 17:34:56 +01:00
e17274e94d
xmldoc2txt: init
xmldoc2txt is a more rigid framework for replacing
xml tags in the documentation. It replaces the clunky
perl substitution expressions.
2022-11-29 15:48:31 +01:00
93cc90c97b
json2nix: add compiler as a package option 2022-11-29 15:31:48 +01:00
42758507b6
json2nix: fix string quotation bug 2022-11-28 20:23:03 +01:00
d30a1093a3
json2nix: ghc942 -> ghc924
Downgrade ghc compiler to support `nixos-22.05`
2022-11-26 21:08:14 +01:00
fa2f0fd6b4
json2nix: use nixfmt internally
This helps with creating better error messages,
because we can now see where in the pipeline
the error occurred
2022-11-26 20:50:22 +01:00
f6217e4c54
Restructure project:
The project has grown quite a bit without me remembering
to make any commits...

Here's a summary of what has happened:

- Make the project friendly towards non-flake users
- Add searchers to be created: `nur-package-search`, `nix-lib-search`
- Add misc util scripts for formatting and testing code.
- Split templates into their own directory,
    as they get quite large after a while.

- Add colorized templates.
- Replace some of the xml tags with optionally colorized output.
- Add `--no-color` option
- Add json2nix script, which will convert the json-converted
    nix code back into nix.
2022-11-26 05:14:14 +01:00