Merge pull request #264385 from someplaceguy/u/polyml-enable-tests
polyml: enable tests
This commit is contained in:
commit
1a362bbee1
@ -10,6 +10,13 @@ stdenv.mkDerivation rec {
|
||||
pname = "polyml";
|
||||
version = "5.9.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "polyml";
|
||||
repo = "polyml";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-72wm8dt+Id59A5058mVE5P9TkXW5/LZRthZoxUustVA=";
|
||||
};
|
||||
|
||||
prePatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace configure.ac --replace stdc++ c++
|
||||
'';
|
||||
@ -24,12 +31,13 @@ stdenv.mkDerivation rec {
|
||||
"--with-gmp"
|
||||
];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "polyml";
|
||||
repo = "polyml";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-72wm8dt+Id59A5058mVE5P9TkXW5/LZRthZoxUustVA=";
|
||||
};
|
||||
doCheck = true;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
make check
|
||||
runHook postCheck
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Standard ML compiler and interpreter";
|
||||
|
Loading…
Reference in New Issue
Block a user