@@ -1,4 +1,4 @@
1−{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs }:
1+{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs, nixosTests }:
22
33buildGoModule rec {
44 pname = "documize-community";
@@ -17,6 +17,8 @@ buildGoModule rec {
1717
1818 subPackages = [ "edition/community.go" ];
1919
20+ passthru.tests = { inherit (nixosTests) documize; };
21+
2022 postInstall = ''
2123 # `buildGoModule` calls `go install` (without `go build` first), so
2224 # `-o bin/documize` doesn't work.