mongodb: add basic check
For example, it detected the issue fixed in the parent commit (tested on aarch64).
This commit is contained in:
parent
eb1ce34d3d
commit
44391a72b2
1 changed files with 7 additions and 0 deletions
|
@ -102,6 +102,13 @@ in stdenv.mkDerivation rec {
|
|||
rm -f "$out/bin/install_compass" || true
|
||||
'';
|
||||
|
||||
doInstallCheck = true;
|
||||
installCheckPhase = ''
|
||||
runHook preInstallCheck
|
||||
"$out/bin/mongo" --version
|
||||
runHook postInstallCheck
|
||||
'';
|
||||
|
||||
prefixKey = "--prefix=";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
Loading…
Reference in a new issue