3
0
Fork 0
forked from mirrors/nixpkgs

guile-gcrypt: add make flags and tests

This commit is contained in:
Gabriel Arazas 2022-09-02 17:29:04 +08:00
parent 04455a586e
commit 49e9431c2a

View file

@ -20,11 +20,6 @@ stdenv.mkDerivation rec {
sha256 = "sha256-lAaiKBOdTFWEWsmwKgx0C67ACvtnEKUxti66dslzSVQ=";
};
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,6 +29,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [
libgcrypt
];
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
doCheck = true;
meta = with lib; {
description = "Bindings to Libgcrypt for GNU Guile";