Skip to content

Commit f5e23fb

Browse files
authored
racket-minimal: Fix on Darwin (#405052)
2 parents eb9bee8 + d59541c commit f5e23fb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pkgs/development/interpreters/racket/minimal.nix

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
lib,
33
stdenv,
4+
fetchpatch,
45
fetchurl,
56

67
libiconvReal,
@@ -49,6 +50,13 @@ stdenv.mkDerivation (finalAttrs: {
4950
circumvent this error.
5051
*/
5152
./patches/force-remove-codesign-then-add.patch
53+
54+
(fetchpatch {
55+
name = "darwin-cs-preprocess.patch";
56+
url = "https://github.com/racket/racket/commit/ee9fb20a10a1a8e36650681afcafe99f0b044423.patch";
57+
hash = "sha256-9aTRzfd3dwznfJg0fwsjhN4SYgXncrGyBCbcmKlxlio=";
58+
stripLen = 1;
59+
})
5260
];
5361

5462
preConfigure =
@@ -168,6 +176,5 @@ stdenv.mkDerivation (finalAttrs: {
168176
maintainers = with lib.maintainers; [ rc-zb ];
169177
mainProgram = "racket";
170178
platforms = lib.platforms.all;
171-
badPlatforms = lib.platforms.darwin;
172179
};
173180
})

0 commit comments

Comments
 (0)