retroarch: add nixosTests.retroarch as passthru.tests
This commit is contained in:
parent
5c24cfdc88
commit
bbcaaeb97d
2 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue