chicken: disable tests for darwin

Test suite assumes access to the `hostname` command, and a few
other gnu coreutil assumptions, not compatible with darwin.

Enable doInstallCheck to compensate
This commit is contained in:
Jonathan Ringer
2022-04-13 14:31:30 -07:00
parent 6ddcd831fa
commit 62b81e9edb
@@ -45,12 +45,17 @@ stdenv.mkDerivation rec {
done
'';
doCheck = true;
doCheck = !stdenv.isDarwin;
postCheck = ''
./csi -R chicken.pathname -R chicken.platform \
-p "(assert (equal? \"${toString binaryVersion}\" (pathname-file (car (repository-path)))))"
'';
doInstallCheck = true;
installCheckPhase = ''
$out/bin/chicken -version
'';
meta = {
homepage = "https://call-cc.org/";
license = lib.licenses.bsd3;