dwl: add nixosTests.dwl to passthru.tests
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
pkg-config,
|
||||
stdenv,
|
||||
testers,
|
||||
nixosTests,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
wayland-scanner,
|
||||
@@ -103,10 +104,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
__structuredAttrs = true;
|
||||
|
||||
passthru = {
|
||||
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";
|
||||
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;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user