Merge pull request #320476 from nialov/enable-check-for-gitmux

gitmux: enable check
This commit is contained in:
h7x4 2024-06-18 09:58:38 +02:00 committed by GitHub
commit 2e1ed6a230
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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}" ];