Unverified Commit f5e23fb3 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

racket-minimal: Fix on Darwin (#405052)

parents eb9bee8e d59541c9
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchpatch,
  fetchurl,

  libiconvReal,
@@ -49,6 +50,13 @@ stdenv.mkDerivation (finalAttrs: {
      circumvent this error.
    */
    ./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 =
@@ -168,6 +176,5 @@ stdenv.mkDerivation (finalAttrs: {
    maintainers = with lib.maintainers; [ rc-zb ];
    mainProgram = "racket";
    platforms = lib.platforms.all;
    badPlatforms = lib.platforms.darwin;
  };
})