forked from mirrors/nixpkgs
guile-json: add make flags and tests
This commit is contained in:
parent
49e9431c2a
commit
d4cf2b811e
|
@ -15,19 +15,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-xTSaI4D2fIphOps698mNITJdRDAjNp5vdhs2bpaUaEM=";
|
||||
};
|
||||
|
||||
postConfigure = ''
|
||||
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site%' Makefile;
|
||||
sed -i '/objdir\s*=/s%=.*%=''${out}/share/guile/ccache%' Makefile;
|
||||
sed -i '/moddir\s*=/s%=.*%=''${out}/share/guile/site/json%' json/Makefile;
|
||||
sed -i '/objdir\s*=/s%=.*%=''${out}/share/guile/ccache/json%' json/Makefile;
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config texinfo
|
||||
];
|
||||
buildInputs = [
|
||||
guile
|
||||
];
|
||||
doCheck = true;
|
||||
makeFlags = [ "GUILE_AUTO_COMPILE=0" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "JSON Bindings for GNU Guile";
|
||||
|
|
Loading…
Reference in a new issue