mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
documize-community: add passthru.tests
to reference VM-test
This commit is contained in:
parent
b7c3c3f5cc
commit
2da253a7de
@ -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";
|
||||
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user