mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-28 23:22:58 +00:00
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:
parent
11eb12b0ca
commit
33fa1c8e8c
@ -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}" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user