shells/silverfin-tpi: Ruby 3.2.2
All checks were successful
Cachix / build (kholinar) (push) Successful in 2m5s
Cachix / build (elendel) (push) Successful in 1m30s
Cachix / build (marabethia) (push) Successful in 1m31s

This commit is contained in:
Charlotte Van Petegem 2025-01-13 10:45:49 +01:00
parent d4dba203e3
commit c762828396

View file

@ -14,6 +14,7 @@ pkgs.devshell.mkShell {
packages = with pkgs; [ packages = with pkgs; [
cmake cmake
nodejs_18 nodejs_18
(pkgs.lowPrio postgresql)
shared-mime-info shared-mime-info
yarn yarn
]; ];
@ -27,6 +28,10 @@ pkgs.devshell.mkShell {
name = "TERM"; name = "TERM";
eval = "\${TERM:-xterm-256color}"; eval = "\${TERM:-xterm-256color}";
} }
{
name = "DISABLE_SPRING";
value = "1";
}
{ {
name = "POSTGRESQL_ADDRESS"; name = "POSTGRESQL_ADDRESS";
value = "localhost"; value = "localhost";
@ -42,7 +47,13 @@ pkgs.devshell.mkShell {
]; ];
language.c.compiler = lib.mkForce pkgs.clang; language.c.compiler = lib.mkForce pkgs.clang;
language.ruby = { language.ruby = {
package = pkgs.ruby_3_2; package = pkgs.ruby_3_2.overrideAttrs (old: {
version = (import "${inputs.nixpkgs}/pkgs/development/interpreters/ruby/ruby-version.nix" { inherit lib; }) "3" "2" "2" "";
src = pkgs.fetchurl {
url = "https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.2.tar.gz";
hash = "sha256-lsV1WIcaZ0jeW8nydOk/S1qtBs2PN776Do2U57ikI7w=";
};
});
nativeDeps = with pkgs; [ nativeDeps = with pkgs; [
postgresql postgresql
libffi libffi