Add basic ruby shell to dev shells
This commit is contained in:
parent
563bf3c790
commit
980eead293
1 changed files with 15 additions and 0 deletions
15
shells/basic-ruby.nix
Normal file
15
shells/basic-ruby.nix
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{ pkgs, inputs, ... }:
|
||||||
|
pkgs.devshell.mkShell {
|
||||||
|
name = "Basic ruby project";
|
||||||
|
imports = [ "${inputs.devshell}/extra/language/ruby.nix" ];
|
||||||
|
packages = with pkgs; [
|
||||||
|
nodejs
|
||||||
|
nodePackages.typescript-language-server
|
||||||
|
rubyPackages_3_3.solargraph
|
||||||
|
yarn
|
||||||
|
];
|
||||||
|
language.ruby = {
|
||||||
|
package = pkgs.ruby_3_3;
|
||||||
|
nativeDeps = [ pkgs.zlib pkgs.libffi pkgs.libyaml ];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue