Skip to content

Commit 240f529

Browse files
rvlMic92
authored andcommittedSep 24, 2017
guile-lib: Disable a test which doesn't work with Guile 2.2
Error is: ERROR: In procedure %resolve-variable: ERROR: Unbound variable: use-syntax FAIL: sxml.ssax.scm Also add pkg-config so that configure script can find libguile. Relevant to #28643 (cherry picked from commit 913e770)
1 parent beb1f1e commit 240f529

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎pkgs/development/guile-modules/guile-lib/default.nix

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{stdenv, fetchurl, guile, texinfo}:
1+
{stdenv, fetchurl, guile, texinfo, pkgconfig}:
22

33
assert stdenv ? cc && stdenv.cc.isGNU;
44

@@ -10,8 +10,14 @@ stdenv.mkDerivation rec {
1010
sha256 = "1f9n2b5b5r75lzjinyk6zp6g20g60msa0jpfrk5hhg4j8cy0ih4b";
1111
};
1212

13+
nativeBuildInputs = [pkgconfig];
1314
buildInputs = [guile texinfo];
1415

16+
# One test doesn't seem to be compatible with guile_2_2
17+
patchPhase = ''
18+
sed -i -e '/sxml.ssax.scm/d' unit-tests/Makefile*
19+
'';
20+
1521
doCheck = true;
1622

1723
preCheck =

0 commit comments

Comments
 (0)
Please sign in to comment.