racket{,-minimal}: fix update script, 9.0 -> 9.1, remove obsolete patch (#496512)

This commit is contained in:
Michael Daniels
2026-03-11 21:29:51 +00:00
committed by GitHub
4 changed files with 6 additions and 27 deletions
+5 -5
View File
@@ -1,11 +1,11 @@
{
"version": "9.0",
"version": "9.1",
"full": {
"filename": "racket-9.0-src.tgz",
"sha256": "a05f54103789477da8e6facabb777049477c4c3998c5865c0d7ce285d3577411"
"filename": "racket-9.1-src.tgz",
"sha256": "1062dce1826884a2a758b565318570440dfd06699f1b1c47cd27d805e4f6833e"
},
"minimal": {
"filename": "racket-minimal-9.0-src.tgz",
"sha256": "2c9dc012acbd980e10c60db5071e1e4597e6d12469832a80a44beab2b62ec3fe"
"filename": "racket-minimal-9.1-src.tgz",
"sha256": "d68e7f392cc842cf29daee2a8a9297a52881ba280c6a4c6108c02ae8c77357d5"
}
}
-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)))
+1 -1
View File
@@ -49,7 +49,7 @@ down_page_path = homepage.find(
down_page = BeautifulSoup(requests.get(SITE + "/" + down_page_path).text, "html.parser")
down_table = down_page.find(class_="download-table")
full = find_info(down_table, "Racket", "Unix")
full = find_info(down_table, "Racket", "All Platforms")
minimal = find_info(down_table, "Minimal Racket", "All Platforms")
with open(MANIFEST_FILENAME, "w", encoding="utf-8") as f: