retroarch: add nixosTests.retroarch as passthru.tests
This commit is contained in:
parent
5c24cfdc88
commit
bbcaaeb97d
|
@ -11,7 +11,7 @@ import ./make-test-python.nix ({ pkgs, ... }:
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.desktopManager.retroarch = {
|
services.xserver.desktopManager.retroarch = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.retroarchFull;
|
package = pkgs.retroarchBare;
|
||||||
};
|
};
|
||||||
services.xserver.displayManager = {
|
services.xserver.displayManager = {
|
||||||
sddm.enable = true;
|
sddm.enable = true;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
|
, nixosTests
|
||||||
, enableNvidiaCgToolkit ? false
|
, enableNvidiaCgToolkit ? false
|
||||||
, withGamemode ? stdenv.isLinux
|
, withGamemode ? stdenv.isLinux
|
||||||
, withVulkan ? stdenv.isLinux
|
, withVulkan ? stdenv.isLinux
|
||||||
|
@ -135,6 +136,8 @@ stdenv.mkDerivation rec {
|
||||||
# https://github.com/libretro/RetroArch/issues/14025
|
# https://github.com/libretro/RetroArch/issues/14025
|
||||||
++ lib.optionals stdenv.isDarwin [ "-fcommon" ];
|
++ lib.optionals stdenv.isDarwin [ "-fcommon" ];
|
||||||
|
|
||||||
|
passthru.tests = nixosTests.retroarch;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://libretro.com";
|
homepage = "https://libretro.com";
|
||||||
description = "Multi-platform emulator frontend for libretro cores";
|
description = "Multi-platform emulator frontend for libretro cores";
|
||||||
|
|
Loading…
Reference in a new issue