Add basic ruby shell to dev shells

This commit is contained in:
Charlotte Van Petegem 2024-02-06 14:26:03 +01:00
parent 563bf3c790
commit 980eead293
No known key found for this signature in database
GPG key ID: 019E764B7184435A

15
shells/basic-ruby.nix Normal file
View 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 ];
};
}