We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d5ac31 commit e01f9b3Copy full SHA for e01f9b3
1 file changed
pkgs/by-name/sd/sdl3/package.nix
@@ -33,6 +33,11 @@
33
wayland-scanner,
34
xorg,
35
zenity,
36
+ # for passthru.tests
37
+ SDL_compat,
38
+ sdl2-compat,
39
+ sdl3-image,
40
+ sdl3-ttf,
41
alsaSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
42
dbusSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
43
drmSupport ? stdenv.hostPlatform.isLinux && !stdenv.hostPlatform.isAndroid,
@@ -204,7 +209,15 @@ stdenv.mkDerivation (finalAttrs: {
204
209
});
205
210
206
211
tests =
207
- {
212
+ SDL_compat.tests
213
+ // sdl2-compat.tests
214
+ // {
215
+ inherit
216
+ SDL_compat
217
+ sdl2-compat
218
+ sdl3-image
219
+ sdl3-ttf
220
+ ;
208
221
pkg-config = testers.hasPkgConfigModules { package = finalAttrs.finalPackage; };
222
inherit (finalAttrs.passthru) debug-text-example;
223
}
0 commit comments