-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update gems #20
Update gems #20
Conversation
@@ -1,11 +1,12 @@ | |||
with (import <nixpkgs> {}); | |||
let | |||
ruby = ruby_3_1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ruby_3_0
doesn't exist in latest nixpkgs anymore and ruby_3_1
is the default ruby.
name = "bundler-env"; | ||
gemdir = ./nix/gem; | ||
}; | ||
in stdenv.mkDerivation { | ||
name = "shell"; | ||
buildInputs = [ env ]; | ||
buildInputs = [ env ruby ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bundlerEnv
doesn't include ruby so running commands was using system ruby instead.
988e175
to
84698bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. The underlying phrase gem updated, but if upload/download worked that's probably sufficient.
I ran the tests and they passed and did an upload / download which seems to work. I did no other checks.