git.iko.soy/typeable/nixpkgs
on master help sign in
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

commit913e770fa819fe8a9395bac30c8c796b944bc2fe authorRodney Lorrimar <dev@rodney.id.au> dateSun 24 Sep 2017, 09:47 (9 years ago) parent116c34a
1 file changed+7−1
pkgs/development/guile-modules/guile-lib/default.nix+7−1
pkgs/development/guile-modules/guile-lib/default.nix+7−1
@@ -1,4 +1,4 @@
1−{stdenv, fetchurl, guile, texinfo}:
1+{stdenv, fetchurl, guile, texinfo, pkgconfig}:
22
33assert 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 =