Skip to content

Comments

makeBinaryWrapper: fix codesign on aarch64-darwin#174038

Merged
vcunat merged 1 commit intoNixOS:staging-nextfrom
ncfavier:fix-aarch64-darwin-binary-wrappers
May 23, 2022
Merged

makeBinaryWrapper: fix codesign on aarch64-darwin#174038
vcunat merged 1 commit intoNixOS:staging-nextfrom
ncfavier:fix-aarch64-darwin-binary-wrappers

Conversation

@ncfavier
Copy link
Member

@ncfavier ncfavier commented May 22, 2022

Fixes #172749 (comment)

Reverts 8b79ef2 on aarch64-darwin, no-op on other platforms.

I don't know for sure what's going on, but given that the issue involves code signing, and cc was originally added to deps to fix code signing issues, I think this is likely to fix the issue. #172749 (comment)

(Adding cc to the propagated build inputs is still not great, so unless #148189 gets fixed we will probably want to refine that to something like buildEnv { paths = [ cctools ]; pathsToLink = [ "/bin/codesign_allocate" ]; }, but now is not the time to experiment.)

Reverts 8b79ef2 on aarch64-darwin, no-op on other platforms.
@ncfavier ncfavier requested a review from Ericson2314 as a code owner May 22, 2022 19:51
@ofborg ofborg bot added 6.topic: darwin Running or building packages on Darwin 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels May 22, 2022
@ncfavier ncfavier changed the title makeBinaryWrapper: maybe fix codesign on aarch64-darwin makeBinaryWrapper: fix codesign on aarch64-darwin May 22, 2022
@vcunat
Copy link
Member

vcunat commented May 23, 2022

So you have tested that it fixes the regression? (in one case at least)

@ncfavier
Copy link
Member Author

No, I don't have an aarch64-darwin machine.
@ofborg build coqPackages.bignums

@vcunat vcunat merged commit 063c560 into NixOS:staging-next May 23, 2022
@ncfavier ncfavier deleted the fix-aarch64-darwin-binary-wrappers branch May 23, 2022 08:29
@vcunat
Copy link
Member

vcunat commented May 23, 2022

A good idea. I think that's sufficient assurance at this point.

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: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants