valkey: build python3Packages.valkey as test

* package is tightly coupled with python3Packages.valkey
* https://github.com/NixOS/nixpkgs/pull/544583#discussion_r3631963310
This commit is contained in:
Darren Rambaud
2026-07-22 14:08:26 -05:00
parent 88cc2017b8
commit 3efd951fdd
+2
View File
@@ -10,6 +10,7 @@
which,
ps,
getconf,
python3Packages,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd,
# dependency ordering is broken at the moment when building with openssl
@@ -113,6 +114,7 @@ stdenv.mkDerivation (finalAttrs: {
tests = {
redis = nixosTests.redis;
unitTests = finalAttrs.finalPackage.overrideAttrs { doCheck = true; };
valkey-python = python3Packages.valkey;
};
serverBin = "valkey-server";
};