devshell/shells/ruby.nix

12 lines
230 B
Nix
Raw Normal View History

2024-03-10 10:13:01 +05:30
{ pkgs }: pkgs.mkShell {
buildInputs = with pkgs; [
ruby_3_2
2024-03-10 10:20:11 +05:30
postgresql_15
2024-03-10 10:13:01 +05:30
];
2024-03-10 12:10:58 +05:30
shellHook = ''
2024-03-10 12:18:17 +05:30
export BUNDLE_HOME="$PWD/.nix/bundle"
export GEM_HOME="$PWD/.nix/gem"
2024-03-10 12:27:14 +05:30
export PATH="GEM_HOME/bin:$PATH"
2024-03-10 12:10:58 +05:30
'';
2024-03-10 10:13:01 +05:30
}