Skip to content

Commit

Permalink
guile-lib: Disable a test which doesn't work with Guile 2.2
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
rvl authored and Mic92 committed Sep 24, 2017
1 parent beb1f1e commit 240f529
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pkgs/development/guile-modules/guile-lib/default.nix
@@ -1,4 +1,4 @@
{stdenv, fetchurl, guile, texinfo}:
{stdenv, fetchurl, guile, texinfo, pkgconfig}:

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

Expand All @@ -10,8 +10,14 @@ stdenv.mkDerivation rec {
sha256 = "1f9n2b5b5r75lzjinyk6zp6g20g60msa0jpfrk5hhg4j8cy0ih4b";
};

nativeBuildInputs = [pkgconfig];
buildInputs = [guile texinfo];

# One test doesn't seem to be compatible with guile_2_2
patchPhase = ''
sed -i -e '/sxml.ssax.scm/d' unit-tests/Makefile*
'';

doCheck = true;

preCheck =
Expand Down

0 comments on commit 240f529

Please sign in to comment.