1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-24 02:00:41 +03:00

racket-minimal: apply upstream patch for darwin

This commit is contained in:
ethanbodzioney 2025-05-08 09:40:03 -04:00
parent 691cdbc3a1
commit d59541c99e

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
stdenv, stdenv,
fetchpatch,
fetchurl, fetchurl,
libiconvReal, libiconvReal,
@ -49,6 +50,13 @@ stdenv.mkDerivation (finalAttrs: {
circumvent this error. circumvent this error.
*/ */
./patches/force-remove-codesign-then-add.patch ./patches/force-remove-codesign-then-add.patch
(fetchpatch {
name = "darwin-cs-preprocess.patch";
url = "https://github.com/racket/racket/commit/ee9fb20a10a1a8e36650681afcafe99f0b044423.patch";
hash = "sha256-9aTRzfd3dwznfJg0fwsjhN4SYgXncrGyBCbcmKlxlio=";
stripLen = 1;
})
]; ];
preConfigure = preConfigure =
@ -168,6 +176,5 @@ stdenv.mkDerivation (finalAttrs: {
maintainers = with lib.maintainers; [ rc-zb ]; maintainers = with lib.maintainers; [ rc-zb ];
mainProgram = "racket"; mainProgram = "racket";
platforms = lib.platforms.all; platforms = lib.platforms.all;
badPlatforms = lib.platforms.darwin;
}; };
}) })