racket: fix build on darwin

This commit is contained in:
Weijia Wang 2023-11-20 08:39:58 +01:00
parent 5d11cc77b2
commit cdff1a05ee

View File

@ -131,7 +131,7 @@ stdenv.mkDerivation rec {
shared = if stdenv.isDarwin then "dylib" else "shared";
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ]
++ lib.optionals disableDocs [ "--disable-docs" ]
++ lib.optionals stdenv.isDarwin [ "--enable-xonx" ];
++ lib.optionals stdenv.isDarwin [ "--disable-strip" "--enable-xonx" ];
configureScript = "../configure";