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:
parent
de2e256a29
commit
48a78a5bee
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user