shells/silverfin-tpi: Ruby 3.2.2
This commit is contained in:
parent
d4dba203e3
commit
c762828396
1 changed files with 12 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue