mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
152b59855d
According to https://reviews.llvm.org/D96164, aarch64-darwin executables require at least an ad hoc signature. The build tool from the racket repo tries to sign $out/bin/racket but errors out, because that binary already has a signature. It is not clear yet at which stage the signature was introduced. This patch removes the existing signature always before calling add-ad-hoc-signature to circumvent that error.
12 lines
322 B
Diff
12 lines
322 B
Diff
--- old/src/mac/codesign.rkt 2022-01-08 18:25:53.000000000 -0500
|
|
+++ new/src/mac/codesign.rkt 2022-02-15 15:49:51.000000000 -0500
|
|
@@ -17,6 +17,5 @@
|
|
#:args (file)
|
|
file))
|
|
|
|
-(if remove?
|
|
- (remove-signature file)
|
|
- (add-ad-hoc-signature file))
|
|
+(remove-signature file)
|
|
+(add-ad-hoc-signature file)
|