diff options
author | Rodney Lorrimar <dev@rodney.id.au> | 2017-09-24 09:47:16 +0100 |
---|---|---|
committer | Rodney Lorrimar <dev@rodney.id.au> | 2017-09-24 10:45:39 +0100 |
commit | 913e770fa819fe8a9395bac30c8c796b944bc2fe (patch) | |
tree | 057445a19b6449cb24c78fe75406499a21259e78 /pkgs/development/guile-modules/guile-lib | |
parent | 116c34a748599334555896c32ace86056607d6c4 (diff) |
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
Diffstat (limited to 'pkgs/development/guile-modules/guile-lib')
-rw-r--r-- | pkgs/development/guile-modules/guile-lib/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/guile-modules/guile-lib/default.nix b/pkgs/development/guile-modules/guile-lib/default.nix index de456b4983ad..62482cec7e6c 100644 --- a/pkgs/development/guile-modules/guile-lib/default.nix +++ b/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; @@ -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 = |