mir: Add miriway & miracle-wm as tests

This commit is contained in:
OPNA2608 2024-09-17 21:58:27 +02:00
parent c1295e6164
commit ea12c5d0ae

View File

@ -2,6 +2,7 @@
stdenv,
lib,
fetchFromGitHub,
nixosTests,
testers,
cmake,
pkg-config,
@ -185,7 +186,9 @@ stdenv.mkDerivation (finalAttrs: {
];
passthru = {
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
tests = {
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
} // lib.optionalAttrs (!pinned) { inherit (nixosTests) miriway miracle-wm; };
providedSessions = lib.optionals (lib.strings.versionOlder version "2.16.0") [
# More of an example than a fully functioning shell, some notes for the adventurous:
# - ~/.config/miral-shell.config is one possible user config location,