Merge pull request #13740 from henrytill/racket-fix
racket: fix build error
This commit is contained in:
commit
dcff28ba21
@ -28,6 +28,11 @@ let
|
|||||||
sqlite
|
sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boolPatch = fetchurl {
|
||||||
|
url = "http://copr-dist-git.fedorainfracloud.org/cgit/bthomas/racket/racket.git/plain/xform-errors-converting-fix.patch";
|
||||||
|
sha256 = "0h5g7a7w8wwj43jb8q69xldgbyxkn0y0i1na6r9fk17dd56nsm68";
|
||||||
|
};
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -51,6 +56,10 @@ stdenv.mkDerivation rec {
|
|||||||
cd src/build
|
cd src/build
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# https://github.com/racket/racket/issues/1222
|
||||||
|
# Fixed upstream after the release of 6.4
|
||||||
|
patches = [ boolPatch ];
|
||||||
|
|
||||||
shared = if stdenv.isDarwin then "dylib" else "shared";
|
shared = if stdenv.isDarwin then "dylib" else "shared";
|
||||||
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ]
|
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ]
|
||||||
++ stdenv.lib.optional disableDocs [ "--disable-docs" ]
|
++ stdenv.lib.optional disableDocs [ "--disable-docs" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user