Skip to content

Commit

Permalink
documize-community: add passthru.tests to reference VM-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ma27 committed Apr 15, 2020
1 parent b7c3c3f commit 2da253a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/servers/documize-community/default.nix
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs }:
{ lib, buildGoModule, fetchFromGitHub, go-bindata, go-bindata-assetfs, nixosTests }:

buildGoModule rec {
pname = "documize-community";
Expand All @@ -17,6 +17,8 @@ buildGoModule rec {

subPackages = [ "edition/community.go" ];

passthru.tests = { inherit (nixosTests) documize; };

postInstall = ''
# `buildGoModule` calls `go install` (without `go build` first), so
# `-o bin/documize` doesn't work.
Expand Down

0 comments on commit 2da253a

Please sign in to comment.