1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-09 17:46:29 +09:00

dwl: add nixosTests.dwl to passthru.tests

This commit is contained in:
Gurjaka 2025-06-05 23:22:53 +04:00
parent be1545fc17
commit 425b529507

View file

@ -10,6 +10,7 @@
pkg-config,
stdenv,
testers,
nixosTests,
wayland,
wayland-protocols,
wayland-scanner,
@ -103,11 +104,14 @@ stdenv.mkDerivation (finalAttrs: {
__structuredAttrs = true;
passthru = {
tests.version = testers.testVersion {
tests = {
version = testers.testVersion {
package = finalAttrs.finalPackage;
# `dwl -v` emits its version string to stderr and returns 1
command = "dwl -v 2>&1; return 0";
};
basic = nixosTests.dwl;
};
};
meta = {