diff --git a/pkgs/development/libraries/hnswlib/default.nix b/pkgs/development/libraries/hnswlib/default.nix index e67836ebffa5..4c5e46237760 100644 --- a/pkgs/development/libraries/hnswlib/default.nix +++ b/pkgs/development/libraries/hnswlib/default.nix @@ -23,7 +23,7 @@ stdenv.mkDerivation (finalAttrs: { # this is a header-only library, so we don't need to build it # we need `cmake` only to run tests - nativeBuildInputs = lib.optionals finalAttrs.finalPackage.doCheck [ + nativeCheckInputs = [ cmake python ];