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.
5 lines
128 B
Nix
5 lines
128 B
Nix
{ pkgs, ... }:
|
|
pkgs.writeScriptBin "nix-attrs-search-format" ''
|
|
find -name '*.nix' -exec '${pkgs.nixfmt}/bin/nixfmt' {} \;
|
|
''
|