Skip to content

Commit

Permalink
racket: fix build error
Browse files Browse the repository at this point in the history
racket/racket#1222

closes #13733

(cherry picked from commit cf71bc9)
  • Loading branch information
henrytill authored and vcunat committed Mar 7, 2016
1 parent 5013149 commit 927ce5c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/interpreters/racket/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ let
sqlite
];

boolPatch = fetchurl {
url = "http://copr-dist-git.fedorainfracloud.org/cgit/bthomas/racket/racket.git/plain/xform-errors-converting-fix.patch";
sha256 = "0h5g7a7w8wwj43jb8q69xldgbyxkn0y0i1na6r9fk17dd56nsm68";
};

in

stdenv.mkDerivation rec {
Expand All @@ -51,6 +56,10 @@ stdenv.mkDerivation rec {
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";
configureFlags = [ "--enable-${shared}" "--enable-lt=${libtool}/bin/libtool" ]
++ stdenv.lib.optional disableDocs [ "--disable-docs" ]
Expand Down

0 comments on commit 927ce5c

Please sign in to comment.