Skip to content

turbo: migrate to new darwin SDK pattern - #355802

Merged
Scrumplex merged 1 commit into
NixOS:masterfrom
getchoo-contrib:pkgs/turbo/darwin-sdk
Nov 14, 2024
Merged

Scrumplex merged 1 commit into
NixOS:masterfrom
getchoo-contrib:pkgs/turbo/darwin-sdk

Conversation

@getchoo

@getchoo getchoo commented Nov 14, 2024

Copy link
Copy Markdown
Member

Part of #354146

Fixes a build failure on x86_64-darwin that appeared in https://hydra.nixos.org/build/276703687. ZHF #352882

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/)
  • 24.11 Release Notes (or backporting 23.11 and 24.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.

@getchoo getchoo added the 0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign label Nov 14, 2024
@getchoo

getchoo commented Nov 14, 2024

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 355802


x86_64-darwin

❌ 2 packages failed to build:
  • modrinth-app
  • modrinth-app-unwrapped
✅ 2 packages built:
  • turbo
  • turbo-unwrapped

aarch64-darwin

✅ 4 packages built:
  • modrinth-app
  • modrinth-app-unwrapped
  • turbo
  • turbo-unwrapped

The modrinth-app failure on x86_64-darwin is unrelated -- seems to need apple-sdk_11

  = note: Undefined symbols for architecture x86_64:
            "_kCFURLVolumeAvailableCapacityForImportantUsageKey", referenced from:
                theseus::state::dirs::DirectoryInfo::move_launcher_directory::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::get_disk_usage::hbc487342fc1803ca in theseus_gui-55836d69bc935bf4.theseus_gui.2d8819698a160e8a-cgu.0.rcgu.o
          ld: symbol(s) not found for architecture x86_64
          clang-16: error: linker command failed with exit code 1 (use -v to see invocation)

@Scrumplex
Scrumplex merged commit 1969869 into NixOS:master Nov 14, 2024
@getchoo
getchoo deleted the pkgs/turbo/darwin-sdk branch November 14, 2024 07:19
@getchoo getchoo mentioned this pull request Nov 15, 2024
3 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: ZHF Fixes Fixes during the Zero Hydra Failures (ZHF) campaign

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants