Skip to content
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

Merged
merged 4 commits into from
Mar 21, 2025
Merged

Conversation

getchoo
Copy link
Member

@getchoo getchoo commented Mar 14, 2025

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

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@heisfer
Copy link
Contributor

heisfer commented Mar 15, 2025

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
  ];
}

@getchoo getchoo requested a review from LordGrimmauld March 17, 2025 22:52
@LordGrimmauld
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 389948


x86_64-linux

✅ 5 packages built:
  • gitbutler
  • modrinth-app
  • modrinth-app-unwrapped
  • turbo
  • turbo-unwrapped

Copy link
Contributor

@LordGrimmauld LordGrimmauld left a 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+)$"
Copy link
Contributor

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.

Copy link
Member Author

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

@brckd
Copy link

brckd commented Mar 18, 2025

I tested this and it indeed fixes #389902!

@Eveeifyeve
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 389948


x86_64-linux

✅ 5 packages built:
  • gitbutler
  • modrinth-app
  • modrinth-app-unwrapped
  • turbo
  • turbo-unwrapped

Copy link
Contributor

@Eveeifyeve Eveeifyeve left a 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.

@Eveeifyeve Eveeifyeve added 12.approvals: 3+ This PR was reviewed and approved by three or more reputable people 11.by: package-maintainer This PR was created by the maintainer of the package it changes labels Mar 19, 2025
@wegank wegank added 12.approvals: 1 This PR was reviewed and approved by one reputable person and removed 12.approvals: 3+ This PR was reviewed and approved by three or more reputable people labels Mar 20, 2025
@getchoo
Copy link
Member Author

getchoo commented Mar 21, 2025

Just made the changelog link use finalAttrs.version as suggested above. Thanks everyone!

@getchoo getchoo merged commit 8118b39 into NixOS:master Mar 21, 2025
16 of 20 checks passed
@getchoo getchoo deleted the pkgs/turbo/2.4.5 branch March 21, 2025 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build 10.rebuild-darwin: 1-10 10.rebuild-linux: 1-10 11.by: package-maintainer This PR was created by the maintainer of the package it changes 12.approvals: 1 This PR was reviewed and approved by one reputable person
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure: turbo-unwrapped-2.4.2
7 participants