nimdow: Add passthru for nimdow module test
This commit is contained in:
parent
2d25ea2b6a
commit
501879e971
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildNimPackage, fetchFromGitHub, testers }:
|
{ lib, buildNimPackage, fetchFromGitHub, nixosTests, testers }:
|
||||||
|
|
||||||
buildNimPackage (finalAttrs: {
|
buildNimPackage (finalAttrs: {
|
||||||
pname = "nimdow";
|
pname = "nimdow";
|
||||||
@ -25,9 +25,12 @@ buildNimPackage (finalAttrs: {
|
|||||||
substituteInPlace src/nimdowpkg/config/configloader.nim --replace "/usr/share/nimdow" "$out/share/nimdow"
|
substituteInPlace src/nimdowpkg/config/configloader.nim --replace "/usr/share/nimdow" "$out/share/nimdow"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests = {
|
||||||
package = finalAttrs.finalPackage;
|
nimdow = nixosTests.nimdow;
|
||||||
version = "v${finalAttrs.version}";
|
version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
version = "v${finalAttrs.version}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib;
|
meta = with lib;
|
||||||
|
Loading…
Reference in New Issue
Block a user