retroarch: add nixosTests.retroarch as passthru.tests

This commit is contained in:
Thiago Kenji Okada 2022-10-01 12:24:46 +01:00
parent 5c24cfdc88
commit bbcaaeb97d
2 changed files with 4 additions and 1 deletions

View file

@ -11,7 +11,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
services.xserver.enable = true;
services.xserver.desktopManager.retroarch = {
enable = true;
package = pkgs.retroarchFull;
package = pkgs.retroarchBare;
};
services.xserver.displayManager = {
sddm.enable = true;

View file

@ -1,5 +1,6 @@
{ lib
, stdenv
, nixosTests
, enableNvidiaCgToolkit ? false
, withGamemode ? stdenv.isLinux
, withVulkan ? stdenv.isLinux
@ -135,6 +136,8 @@ stdenv.mkDerivation rec {
# https://github.com/libretro/RetroArch/issues/14025
++ lib.optionals stdenv.isDarwin [ "-fcommon" ];
passthru.tests = nixosTests.retroarch;
meta = with lib; {
homepage = "https://libretro.com";
description = "Multi-platform emulator frontend for libretro cores";