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

19 lines
247 B
Nix

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