Skip to content

Commit

Permalink
mir: Add miriway & miracle-wm as tests
Browse files Browse the repository at this point in the history
  • Loading branch information
OPNA2608 committed Sep 17, 2024
1 parent 9eb3aab commit 919bb41
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/servers/mir/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
stdenv,
lib,
fetchFromGitHub,
nixosTests,
testers,
cmake,
pkg-config,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 919bb41

Please sign in to comment.