-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
turbo: 2.4.2 -> 2.4.5-canary.4 #389948
turbo: 2.4.2 -> 2.4.5-canary.4 #389948
Conversation
Fixes building against Rust 1.85 Diff: vercel/turborepo@v2.4.2...v2.4.5-canary.4 Changelog: https://github.com/vercel/turborepo/releases/tag/v2.4.5-canary.4
Tested with code shown in the below and application builds and runs. {pkgs, ...}: let
nixpkgs-modrinth-fix = pkgs.fetchFromGitHub {
owner = "getchoo-contrib";
repo = "nixpkgs";
rev = "45a17797406d7fe86b56cb4f76058fd1193283a5";
hash = "sha256-RAePo9CE6ZE4Z2yxDgCKvwcWQ35K7kSg10dcNucNL9k=";
};
system = pkgs.system;
pr389948 = import nixpkgs-modrinth-fix {
inherit system;
config.allowUnfree = true;
};
in {
environment.systemPackages = [
pr389948.modrinth-app
];
} |
|
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.
small diff and builds, lgtm
@@ -63,20 +63,20 @@ rustPlatform.buildRustPackage rec { | |||
updateScript = nix-update-script { | |||
extraArgs = [ | |||
"--version-regex" | |||
"'v(\\d+\\.\\d+\\.\\d+)'" | |||
"v(\\d+\\.\\d+\\.\\d+)$" |
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.
My only concern is the current selected version doesn't match this regex, so the updater bot could easily downgrade this package prior to the next stable release.
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.
Then we can draft it until the next major release
After all, this is only a temporary bump -- as the patches for building against Rust 2024 edition can't be easily backported
I tested this and it indeed fixes #389902! |
|
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.
no build issues, bin passes and diff looks good.
However I haven't got my machine with me to test darwin so someone will have to test darwin.
00ef7da
to
39e1e1c
Compare
Just made the changelog link use |
Fixes #389902
Diff: vercel/turborepo@v2.4.2...v2.4.5-canary.4
Changelog: https://github.com/vercel/turborepo/releases/tag/v2.4.5-canary.4
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.