gitmux: enable check

Updates to gitmux added tests that do not require
an internet connection and can be tested in nixpkgs.
This commit is contained in:
nialov 2024-06-17 11:00:36 +03:00
parent 11eb12b0ca
commit 33fa1c8e8c
No known key found for this signature in database
GPG Key ID: DFACAB3167BE27CB

View File

@ -1,4 +1,4 @@
{ fetchFromGitHub, buildGoModule, lib, testers, gitmux }:
{ fetchFromGitHub, buildGoModule, lib, testers, gitmux, git }:
buildGoModule rec {
pname = "gitmux";
@ -13,9 +13,8 @@ buildGoModule rec {
vendorHash = "sha256-PHY020MIuLlC1LqNGyBJRNd7J+SzoHbNMPAil7CKP/M=";
# GitHub source does contain a regression test for the module
# but it requires networking as it git clones a repo from github
doCheck = false;
nativeCheckInputs = [ git ];
doCheck = true;
ldflags = [ "-X main.version=${version}" ];