mongodb: add basic check
For example, it detected the issue fixed in the parent commit (tested on aarch64).
This commit is contained in:
@@ -102,6 +102,13 @@ in stdenv.mkDerivation rec {
|
|||||||
rm -f "$out/bin/install_compass" || true
|
rm -f "$out/bin/install_compass" || true
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doInstallCheck = true;
|
||||||
|
installCheckPhase = ''
|
||||||
|
runHook preInstallCheck
|
||||||
|
"$out/bin/mongo" --version
|
||||||
|
runHook postInstallCheck
|
||||||
|
'';
|
||||||
|
|
||||||
prefixKey = "--prefix=";
|
prefixKey = "--prefix=";
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user