2022-11-26 05:14:14 +01:00
|
|
|
{ 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 { };
|
2022-11-26 20:48:26 +01:00
|
|
|
ormolu = pkgs.callPackage ./utils/ormolu.nix { };
|
2022-11-26 05:14:14 +01:00
|
|
|
in ''
|
|
|
|
alias nasf=${format}/bin/nix-attrs-search-format
|
|
|
|
alias nashl=${hlint}/bin/nix-attrs-search-hlint
|
2022-11-26 20:48:26 +01:00
|
|
|
alias nashf=${ormolu}/bin/nix-attrs-search-ormolu
|
2022-11-26 05:14:14 +01:00
|
|
|
'';
|
|
|
|
}
|