git.iko.soy/typeable/nixpkgs
on master help sign in
documize-community: add `passthru.tests` to reference VM-test
commit2da253a7ded5942283049b3a83388123adc27ab6 authorMaximilian Bosch <maximilian@mbosch.me> dateWed 15 Apr 2020, 22:13 (7 years ago) parentb7c3c3f
1 file changed+3−1
pkgs/servers/documize-community/default.nix+3−1
pkgs/servers/documize-community/default.nix+3−1
@@ -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.