@@ -1,5 +1,5 @@
11{ fetchurl, stdenv, libtool, readline, gmp, pkgconfig, boehmgc, libunistring
2−, libffi, gawk, makeWrapper, coverageAnalysis ? null, gnu ? null }:
2+, libffi, gawk, makeWrapper, fetchpatch, coverageAnalysis ? null, gnu ? null }:
33
44# Do either a coverage analysis build or a standard build.
55(if coverageAnalysis != null
@@ -31,7 +31,13 @@
3131 # libguile/vm-i-system.i is not created in time
3232 enableParallelBuilding = false;
3333
34− patches = [ ./disable-gc-sensitive-tests.patch ./eai_system.patch ./clang.patch ] ++
34+ patches = [ ./disable-gc-sensitive-tests.patch ./eai_system.patch ./clang.patch
35+ (fetchpatch {
36+ # Fixes stability issues with 00-repl-server.test
37+ url = "http://git.savannah.gnu.org/cgit/guile.git/patch/?id=2fbde7f02adb8c6585e9baf6e293ee49cd23d4c4";
38+ sha256 = "0p6c1lmw1iniq03z7x5m65kg3lq543kgvdb4nrxsaxjqf3zhl77v";
39+ })
40+ ] ++
3541 (stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch);
3642
3743 # Explicitly link against libgcc_s, to work around the infamous