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.
13 lines
329 B
Nix
13 lines
329 B
Nix
{ pkgs }:
|
|
pkgs.mkShell {
|
|
packages = with pkgs; [ nixfmt hlint jq bat gomplate ];
|
|
|
|
shellHook = let
|
|
format = pkgs.callPackage ./utils/format.nix { };
|
|
hlint = pkgs.callPackage ./utils/hlint.nix { };
|
|
in ''
|
|
alias nasf=${format}/bin/nix-attrs-search-format
|
|
alias nashl=${hlint}/bin/nix-attrs-search-hlint
|
|
'';
|
|
}
|