From 980eead293d8d7c6747f586f02a4e30e2736d69a Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Tue, 6 Feb 2024 14:26:03 +0100 Subject: [PATCH] Add basic ruby shell to dev shells --- shells/basic-ruby.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 shells/basic-ruby.nix diff --git a/shells/basic-ruby.nix b/shells/basic-ruby.nix new file mode 100644 index 00000000..7bb76a05 --- /dev/null +++ b/shells/basic-ruby.nix @@ -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 ]; + }; +}