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

fix: erroneous architecture for darwin (macos) #56

Merged
merged 1 commit into from
Dec 15, 2024

Conversation

bryango
Copy link
Collaborator

@bryango bryango commented Nov 28, 2024

Fix #54. However, this is a dirty hack... I wonder if there is a way to obtain the usual platform double (e.g. aarch64-darwin) in rust. Searching...

Friendly ping @doronbehar for review & testing!

Update: another solution is to read the target triple from a build.rs script, and then reduce it to a target double. But that seems too much trouble... I think I will stick to the current solution for now.

@bryango bryango requested review from makefu and Artturin November 28, 2024 05:53
Copy link
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

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

This worked:

nix run github:bryango/hydra-check/riir -- hello

@bryango
Copy link
Collaborator Author

bryango commented Dec 15, 2024

Hey all, since the issue is blocking the packaging NixOS/nixpkgs#359514 I will proceed to self-merge this next week if there is no objection, but feel free to stop me anytime! @makefu @Artturin

@Artturin Artturin merged commit a7de29e into nix-community:master Dec 15, 2024
4 checks passed
@doronbehar
Copy link
Contributor

Since I see you have permissions here and you are active, a 2.0.1 release would be nice now :).

@makefu
Copy link
Member

makefu commented Dec 15, 2024

hey, and sorry for not replying. The fix is fine for me, also the release of the new version :)

@bryango bryango deleted the riir branch December 16, 2024 05:59
@doronbehar
Copy link
Contributor

Could anyone please make a 2.0.1 release for Nixpkgs?

@bryango
Copy link
Collaborator Author

bryango commented Dec 21, 2024

Could anyone please make a 2.0.1 release for Nixpkgs?

I made the 2.0.1 release: https://github.com/nix-community/hydra-check/releases/tag/v2.0.1

@doronbehar
Copy link
Contributor

Thanks. Updated the Nixpkgs PR and marked it as ready for review:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wrong --arch guess on Darwin
4 participants