File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change 46
46
gemConfig = { } ;
47
47
48
48
# See available versions here: https://github.com/bobvanderlinden/nixpkgs-ruby/blob/master/ruby/versions.json
49
- ruby = pkgs . "ruby-3.2 " ;
49
+ ruby = pkgs . "ruby-3.3.1 " ;
50
50
51
+ # Running bundix would regenerate `gemset.nix`
51
52
bundixcli = bundix . packages . ${ system } . default ;
53
+
54
+ # Use these instead of the original `bundle <mutate>` commands
55
+ bundleLock = pkgs . writeShellScriptBin "bundle-lock" ''
56
+ export BUNDLE_PATH=vendor/bundle
57
+ bundle lock
58
+ '' ;
59
+ bundleUpdate = pkgs . writeShellScriptBin "bundle-update" ''
60
+ export BUNDLE_PATH=vendor/bundle
61
+ bundle lock --update
62
+ '' ;
52
63
in
53
64
rec {
54
65
inherit
67
78
[
68
79
env
69
80
bundixcli
81
+ bundleLock
82
+ bundleUpdate
70
83
]
71
84
++ ( with pkgs ; [
72
- nodejs-19_x
73
85
yarn
74
86
rufo
87
+ # more packages here
75
88
] ) ;
76
89
} ;
77
90
} ;
You can’t perform that action at this time.
0 commit comments