33 lines
509 B
Nix
33 lines
509 B
Nix
{
|
|
self,
|
|
colmena,
|
|
...
|
|
}: system:
|
|
with self.pkgs.${system};
|
|
mkShell {
|
|
name = "nix-config";
|
|
packages = [
|
|
# Nix
|
|
cachix
|
|
colmena.packages.${system}.colmena
|
|
alejandra
|
|
statix
|
|
update-nix-fetchgit
|
|
nil
|
|
|
|
# Lua
|
|
stylua
|
|
(luajit.withPackages (p: with p; [luacheck]))
|
|
lua-language-server
|
|
|
|
# Misc
|
|
shellcheck
|
|
pre-commit
|
|
rage
|
|
];
|
|
|
|
shellHook = ''
|
|
${self.checks.${system}.pre-commit-check.shellHook}
|
|
'';
|
|
}
|