lmdb: more idiomatic code

This should solve a warning from the r-rmcgibbo bot:
> checkPhase should probably contain runHook preCheck and runHook postCheck
This commit is contained in:
Vladimír Čunát 2021-05-07 20:21:27 +02:00
parent de2e256a29
commit 48a78a5bee
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -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"