about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2021-05-07 20:21:27 +0200
committerVladimír Čunát <v@cunat.cz>2021-05-07 20:21:27 +0200
commit48a78a5beecdaf8e5a1c4ea51def1d64d6cfadb8 (patch)
tree3992d9449dec34d3156b39cf9859de07fefe7fa7
parentde2e256a29314b33d3aca105b26e3800934d7606 (diff)
lmdb: more idiomatic code
This should solve a warning from the r-rmcgibbo bot:
> checkPhase should probably contain runHook preCheck and runHook postCheck
-rw-r--r--pkgs/development/libraries/lmdb/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/lmdb/default.nix b/pkgs/development/libraries/lmdb/default.nix
index d1a68cc66c601..0a3515db26225 100644
--- a/pkgs/development/libraries/lmdb/default.nix
+++ b/pkgs/development/libraries/lmdb/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
     ++ lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/liblmdb.so";
 
   doCheck = true;
-  checkPhase = "make test";
+  checkTarget = "test";
 
   postInstall = ''
     moveToOutput bin "$bin"