diff options
author | Vladimír Čunát <v@cunat.cz> | 2021-05-07 20:21:27 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2021-05-07 20:21:27 +0200 |
commit | 48a78a5beecdaf8e5a1c4ea51def1d64d6cfadb8 (patch) | |
tree | 3992d9449dec34d3156b39cf9859de07fefe7fa7 /pkgs/development/libraries/lmdb | |
parent | de2e256a29314b33d3aca105b26e3800934d7606 (diff) |
lmdb: more idiomatic code
This should solve a warning from the r-rmcgibbo bot: > checkPhase should probably contain runHook preCheck and runHook postCheck
Diffstat (limited to 'pkgs/development/libraries/lmdb')
-rw-r--r-- | pkgs/development/libraries/lmdb/default.nix | 2 |
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" |