diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2021-12-28 21:32:26 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2022-01-06 17:31:57 +0100 |
commit | e9efbc0bbb222cc90d14ba919f77bb198dd2d55f (patch) | |
tree | 6710cf64f4afe111fd163c10fdefb8303f6d6693 /pkgs | |
parent | 2bc8eed5b92a27a361553dbabc81c2ffb56971f0 (diff) | |
download | nixpkgs-e9efbc0bbb222cc90d14ba919f77bb198dd2d55f.tar nixpkgs-e9efbc0bbb222cc90d14ba919f77bb198dd2d55f.tar.gz nixpkgs-e9efbc0bbb222cc90d14ba919f77bb198dd2d55f.tar.bz2 nixpkgs-e9efbc0bbb222cc90d14ba919f77bb198dd2d55f.tar.lz nixpkgs-e9efbc0bbb222cc90d14ba919f77bb198dd2d55f.tar.xz nixpkgs-e9efbc0bbb222cc90d14ba919f77bb198dd2d55f.tar.zst nixpkgs-e9efbc0bbb222cc90d14ba919f77bb198dd2d55f.zip |
nixos/tests/tinywl: init
This adds a very minimalistic (in terms of functionality and dependencies) test for wlroots, Wayland, and related packages. The Sway test covers more functionality and packages (e.g. XWayland) but this test has tree advantages: - Less dependencies: Much fewer rebuilds are required when testing core changes that need to go through staging. - Testing wlroots updates: The Sway package isn't immediately updated after a new wlroots version is released and a lot of other packages depend on wlroots as well. - Determining whether a bug only affects Sway or wlroots/TinyWL as well.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/window-managers/tinywl/default.nix | 2 | ||||
-rw-r--r-- | pkgs/development/libraries/wlroots/0.15.nix | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/window-managers/tinywl/default.nix b/pkgs/applications/window-managers/tinywl/default.nix index 965ec67b6e9..b89d9dafd90 100644 --- a/pkgs/applications/window-managers/tinywl/default.nix +++ b/pkgs/applications/window-managers/tinywl/default.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation { meta = with lib; { homepage = "https://github.com/swaywm/wlroots/tree/master/tinywl"; description = ''A "minimum viable product" Wayland compositor based on wlroots''; - maintainers = with maintainers; [ qyliss ]; + maintainers = with maintainers; [ qyliss ] ++ wlroots.meta.maintainers; license = licenses.cc0; inherit (wlroots.meta) platforms; }; diff --git a/pkgs/development/libraries/wlroots/0.15.nix b/pkgs/development/libraries/wlroots/0.15.nix index 93ecf0bd3ab..e7cf7bc9b4c 100644 --- a/pkgs/development/libraries/wlroots/0.15.nix +++ b/pkgs/development/libraries/wlroots/0.15.nix @@ -2,6 +2,7 @@ , libGL, wayland, wayland-protocols, libinput, libxkbcommon, pixman , xcbutilwm, libX11, libcap, xcbutilimage, xcbutilerrors, mesa , libpng, ffmpeg, xcbutilrenderutil, seatd, vulkan-loader, glslang +, nixosTests , enableXWayland ? true, xwayland ? null }: @@ -49,6 +50,9 @@ stdenv.mkDerivation rec { done ''; + # Test via TinyWL (the "minimum viable product" Wayland compositor based on wlroots): + passthru.tests.tinywl = nixosTests.tinywl; + meta = with lib; { description = "A modular Wayland compositor library"; longDescription = '' |