diff --git a/pkgs/by-name/ra/racket/minimal.nix b/pkgs/by-name/ra/racket/minimal.nix index 57fbbf224b84..05d203da2750 100644 --- a/pkgs/by-name/ra/racket/minimal.nix +++ b/pkgs/by-name/ra/racket/minimal.nix @@ -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 diff --git a/pkgs/by-name/ra/racket/patches/force-remove-codesign-then-add.patch b/pkgs/by-name/ra/racket/patches/force-remove-codesign-then-add.patch deleted file mode 100644 index 98e2cb102db9..000000000000 --- a/pkgs/by-name/ra/racket/patches/force-remove-codesign-then-add.patch +++ /dev/null @@ -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)))