mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 14:50:40 +02:00
feat: add dev-shell
This commit is contained in:
parent
ccc9af28fd
commit
08db98efd4
1 changed files with 37 additions and 0 deletions
37
nix/dev-shell.nix
Normal file
37
nix/dev-shell.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{self, ...}: system:
|
||||
with self.pkgs.${system};
|
||||
mkShell {
|
||||
name = "nix-config";
|
||||
|
||||
nativeBuildInputs = [
|
||||
# Nix
|
||||
cachix
|
||||
deploy-rs.deploy-rs
|
||||
nix-build-uncached
|
||||
nix-linter
|
||||
alejandra
|
||||
ragenix
|
||||
rnix-lsp
|
||||
statix
|
||||
|
||||
# Lua
|
||||
stylua
|
||||
(luajit.withPackages (p: with p; [luacheck]))
|
||||
sumneko-lua-language-server
|
||||
|
||||
# GitHub Actions
|
||||
act
|
||||
actionlint
|
||||
python3Packages.pyflakes
|
||||
shellcheck
|
||||
|
||||
# Misc
|
||||
jq
|
||||
pre-commit
|
||||
rage
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
${self.checks.${system}.pre-commit-check.shellHook}
|
||||
'';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue