diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-07-11 11:07:18 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-07-11 11:07:18 +0200 |
commit | 44391a72b2e08a31680b934df9585ffa326253dc (patch) | |
tree | f093d4e7f5090b07dfa6819d7ccce0bbbafdcecb /pkgs/servers/nosql | |
parent | eb1ce34d3d7dd7ecdd1fc17347bc12755313f050 (diff) |
mongodb: add basic check
For example, it detected the issue fixed in the parent commit
(tested on aarch64).
Diffstat (limited to 'pkgs/servers/nosql')
-rw-r--r-- | pkgs/servers/nosql/mongodb/mongodb.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/servers/nosql/mongodb/mongodb.nix b/pkgs/servers/nosql/mongodb/mongodb.nix index 8ffdbcd63c4c..2c058edbccab 100644 --- a/pkgs/servers/nosql/mongodb/mongodb.nix +++ b/pkgs/servers/nosql/mongodb/mongodb.nix @@ -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; |