Skip to content

herdr: fix Darwin builds#536015

Open
arunoruto wants to merge 1 commit into
NixOS:masterfrom
arunoruto:herdr
Open

herdr: fix Darwin builds#536015
arunoruto wants to merge 1 commit into
NixOS:masterfrom
arunoruto:herdr

Conversation

@arunoruto

@arunoruto arunoruto commented Jun 27, 2026

Copy link
Copy Markdown
Contributor

herdr wasn't building on Darwin systems as can be see in these hydra logs: https://hydra.nixos.org/build/332986051/nixlog/1
To fix this, I added an Xcode select script inspired by the upstream repo and their package.nix and the cctools. With this, the problem has been fixed.

I also added a versionCheckHook just in case (I guess rust projects don't need it really, but better to be safe than sorry).

I checked the licence of the project, and it is an agpl3Plus, not agpl3Only.

Things done

@nixpkgs-ci nixpkgs-ci Bot requested a review from kevinpita June 27, 2026 12:24
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Jun 27, 2026
@arunoruto

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 536015
Commit: 3288844cea6d2dda161e7f94123ffb1b1ee1fc53


aarch64-darwin

✅ 1 package built:
  • herdr

@kevinpita kevinpita left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Could you squash the commits before merging?

- Add xcode-select wrapper for darwin builds to fix compilation
- Add versionCheckHook for install checks
- Fix license and update homepage
- Add custom dependency argument to nix-update-script to enable
  auto-updates of zig dependencies
@arunoruto

Copy link
Copy Markdown
Contributor Author

LGTM!

Could you squash the commits before merging?

Done :)

@ofborg ofborg Bot added the 6.topic: darwin Running or building packages on Darwin label Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants