From 0abfee4654187a82f2dba07b6cdf28b796988900 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Sun, 25 May 2025 10:10:01 +0200 Subject: [PATCH] cubeb: add pcsx2 and duckstation to tests Signed-off-by: Marcin Serwin --- pkgs/by-name/cu/cubeb/package.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/cu/cubeb/package.nix b/pkgs/by-name/cu/cubeb/package.nix index 2592fc06bc7c..79c84d8ffa57 100644 --- a/pkgs/by-name/cu/cubeb/package.nix +++ b/pkgs/by-name/cu/cubeb/package.nix @@ -11,7 +11,12 @@ sndio, speexdsp, validatePkgConfig, + + # passthru.tests testers, + pcsx2, + duckstation, + alsaSupport ? !stdenv.hostPlatform.isDarwin, pulseSupport ? !stdenv.hostPlatform.isDarwin, jackSupport ? !stdenv.hostPlatform.isDarwin, @@ -71,7 +76,12 @@ stdenv.mkDerivation (finalAttrs: { passthru = { updateScript = unstableGitUpdater { hardcodeZeroVersion = true; }; - tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + + tests = { + # These packages depend on a patched version of cubeb + inherit pcsx2 duckstation; + pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage; + }; }; meta = {