From e9d58fd43d6068b9446bc3135add49fa4140e07d Mon Sep 17 00:00:00 2001 From: rczb Date: Wed, 11 Mar 2026 11:06:03 +0800 Subject: [PATCH] racket{,-minimal}: remove obsolete patch --- pkgs/by-name/ra/racket/minimal.nix | 11 ----------- .../patches/force-remove-codesign-then-add.patch | 10 ---------- 2 files changed, 21 deletions(-) delete mode 100644 pkgs/by-name/ra/racket/patches/force-remove-codesign-then-add.patch 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)))