racket{,-minimal}: remove obsolete patch

This commit is contained in:
rczb
2026-03-11 11:06:03 +08:00
parent bd8fb6a867
commit e9d58fd43d
2 changed files with 0 additions and 21 deletions
-11
View File
@@ -40,17 +40,6 @@ stdenv.mkDerivation (finalAttrs: {
sqlite.out
];
patches = lib.optionals isDarwin [
/*
The entry point binary $out/bin/racket is codesigned at least once. The
following error is triggered as a result.
(error 'add-ad-hoc-signature "file already has a signature")
We always remove the existing signature then call add-ad-hoc-signature to
circumvent this error.
*/
./patches/force-remove-codesign-then-add.patch
];
preConfigure =
/*
The configure script forces using `libtool -o` as AR on Darwin. But, the
@@ -1,10 +0,0 @@
--- old/src/mac/codesign.rkt
+++ new/src/mac/codesign.rkt
@@ -18,6 +18,6 @@
file))
(void
- (if remove?
+ (begin
(remove-signature file)
(add-ad-hoc-signature file)))