Skip to content

Commit

Permalink
Bump ruby to 3.4 era
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Dec 28, 2024
1 parent ce6516a commit faa9c22
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
trivy
markdownlint-cli2

(ruby_3_3.withPackages (ps: with ps; [ rubocop ]))
(ruby_3_4.withPackages (ps: with ps; [ rubocop ]))
])
++ (with pkgs.unstable; [
# https://github.com/NixOS/nixpkgs/pull/362139
Expand Down
2 changes: 1 addition & 1 deletion home-manager/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ in
reset-main = ''
!git fetch origin && \
git switch main && \
git branch -m "backup-main-$(${lib.getBin pkgs.ruby_3_3}/bin/ruby -r 'securerandom' -e 'puts SecureRandom.uuid')" && \
git branch -m "backup-main-$(${lib.getBin pkgs.ruby_3_4}/bin/ruby -r 'securerandom' -e 'puts SecureRandom.uuid')" && \
git checkout origin/main && \
git checkout -b main
'';
Expand Down
2 changes: 1 addition & 1 deletion home-manager/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
gnumake
go-task # Installing for enabling shell completion easy
gitleaks
ruby_3_3
ruby_3_4
_7zz # `7zz` - 7zip. Command is not 7zip.

pastel
Expand Down
2 changes: 1 addition & 1 deletion pkgs/envs/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ pkgs.writeShellApplication rec {
text = builtins.readFile ./${name}.bash;
runtimeInputs = with pkgs; [
fzf
ruby_3_3 # pkgs.writers.writeRuby and writeRubyBin does not fit
ruby_3_4 # pkgs.writers.writeRuby and writeRubyBin does not fit
];
runtimeEnv = {
RUBY_SCRIPT_PATH = "${./${name}.rb}";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pkgs.writeShellApplication rec {
my.safe_quote_backtik
git
fzf
ruby_3_3
ruby_3_4
];
meta = {
description = "Used in git alias";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ir/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pkgs.writeShellApplication rec {
# - sed: Always forgot how to use
# - sd: Inactive
# - sad: Too much for filter
ruby_3_3
ruby_3_4

findutils # xargs
gnugrep
Expand Down

0 comments on commit faa9c22

Please sign in to comment.