46 lines
760 B
Nix
46 lines
760 B
Nix
{
|
|
inputs,
|
|
cell,
|
|
}: let
|
|
inherit (inputs.std) std lib;
|
|
inherit (inputs) nixpkgs;
|
|
inherit (inputs.cells) cli;
|
|
|
|
l = nixpkgs.lib // builtins;
|
|
|
|
dev = lib.dev.mkShell {
|
|
packages = [
|
|
# Linux
|
|
nixpkgs.gnugrep
|
|
nixpkgs.gawk
|
|
nixpkgs.diffutils
|
|
nixpkgs.fd
|
|
|
|
# Building
|
|
nixpkgs.just
|
|
nixpkgs.lefthook
|
|
nixpkgs.jq
|
|
|
|
# .NET
|
|
nixpkgs.dotnet-sdk
|
|
|
|
# Nix
|
|
nixpkgs.nixfmt
|
|
nixpkgs.alejandra
|
|
|
|
# Git
|
|
nixpkgs.git
|
|
];
|
|
|
|
nixago = [
|
|
(lib.cfg.conform cell.configs.conform)
|
|
(lib.cfg.treefmt cell.configs.treefmt)
|
|
(lib.cfg.editorconfig cell.configs.editorconfig)
|
|
(lib.cfg.lefthook cell.configs.lefthook)
|
|
];
|
|
};
|
|
in {
|
|
inherit dev;
|
|
default = dev;
|
|
}
|