diff options
author | nialov <nikolasovaskainen@gmail.com> | 2024-06-17 11:00:36 +0300 |
---|---|---|
committer | nialov <nikolasovaskainen@gmail.com> | 2024-06-17 11:00:36 +0300 |
commit | 33fa1c8e8c0586bd3dd187d55396b3d0e070c03c (patch) | |
tree | 3742fc29e674bf0a0beaa83e1e0e11a116a53546 /pkgs/applications/version-management | |
parent | 11eb12b0cafd044ebdfd7353bd1aafb56976b232 (diff) |
gitmux: enable check
Updates to gitmux added tests that do not require an internet connection and can be tested in nixpkgs.
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/gitmux/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/applications/version-management/gitmux/default.nix b/pkgs/applications/version-management/gitmux/default.nix index cd5a214464ed0..8bb5277dc4ec7 100644 --- a/pkgs/applications/version-management/gitmux/default.nix +++ b/pkgs/applications/version-management/gitmux/default.nix @@ -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}" ]; |