-
Notifications
You must be signed in to change notification settings - Fork 73
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
Use protoc from nix when available #1558
Use protoc from nix when available #1558
Conversation
"nodejs-16_x" | ||
"yarn" | ||
shellPackages = with pkgs; [ | ||
temurin-jre-bin-17 |
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.
thought: I replaced default jre
with the same one that is used on the CI
temurin-jre-bin-17 | ||
nodejs-18_x | ||
yarn | ||
(pkgs.sbt.override { jre = pkgs.temurin-jre-bin-17; }) |
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.
thought: I had to override the jre
version used by this particular derivation of sbt
(which is still 1.8.x version) as it was using too recent version of jre
- 21.
I then decided to completely drop the idea of shellInputs
being just a list of strings since this required the packages to be defined in two places without any particular benefit. Also the errors from nix evaluator were harder to debug when using strings.
Co-authored-by: Jakub Kozłowski <kubukoz@gmail.com>
PR Checklist (not all items are relevant to all PRs)