phoc: add passthru.tests.version

This commit is contained in:
Rodney Lorrimar 2024-02-01 16:05:39 +08:00 committed by tomf
parent 6885a4db8f
commit bc695020db

View File

@ -19,6 +19,7 @@
, xorg
, directoryListingUpdater
, nixosTests
, testers
}:
stdenv.mkDerivation (finalAttrs: {
@ -72,6 +73,9 @@ stdenv.mkDerivation (finalAttrs: {
passthru = {
tests.phosh = nixosTests.phosh;
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};
updateScript = directoryListingUpdater { };
};