nixos-config/templates/local-ruby-nix/shell.nix

19 lines
247 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> { }
, extraBuildInputs ? [ ]
, extraPackages ? [ ]
}:
2023-08-03 07:44:11 +00:00
with pkgs;
mkShell {
buildInputs = extraBuildInputs;
2023-08-03 07:44:11 +00:00
packages = [
# Formatters
nixpkgs-fmt
# Language servers
rnix-lsp
] ++ extraPackages;
2023-08-03 07:44:11 +00:00
}