diff options
author | Gabriel Arazas <foo.dogsquared@gmail.com> | 2022-10-04 19:51:39 +0800 |
---|---|---|
committer | Gabriel Arazas <foo.dogsquared@gmail.com> | 2022-10-04 19:52:21 +0800 |
commit | 826fd7598402596f27548877f5689d2e83a5c783 (patch) | |
tree | 9811cf497f3263bfbf2414e56eaaf5ac5e4e670e /pkgs/development/guile-modules | |
parent | d4cf2b811e3c4af5a44803d7a6ca3b5192f4c073 (diff) |
guile-git: add make flags and tests
Diffstat (limited to 'pkgs/development/guile-modules')
-rw-r--r-- | pkgs/development/guile-modules/guile-git/default.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/guile-modules/guile-git/default.nix b/pkgs/development/guile-modules/guile-git/default.nix index 0b3dfefcbe8c0..5487116b53afd 100644 --- a/pkgs/development/guile-modules/guile-git/default.nix +++ b/pkgs/development/guile-modules/guile-git/default.nix @@ -20,11 +20,6 @@ stdenv.mkDerivation rec { sha256 = "x6apF9fmwzrkyzAexKjClOTFrbE31+fVhSLyFZkKRYU="; }; - postConfigure = '' - sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile; - sed -i '/godir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile; - ''; - nativeBuildInputs = [ autoreconfHook pkg-config texinfo ]; @@ -34,9 +29,16 @@ stdenv.mkDerivation rec { propagatedBuildInputs = [ libgit2 scheme-bytestructures ]; + doCheck = true; + makeFlags = [ "GUILE_AUTO_COMPILE=0" ]; enableParallelBuilding = true; + # Skipping proxy tests since it requires network access. + postConfigure = '' + sed -i -e '94i (test-skip 1)' ./tests/proxy.scm + ''; + meta = with lib; { description = "Bindings to Libgit2 for GNU Guile"; homepage = "https://gitlab.com/guile-git/guile-git"; |