Skip to content

Commit

Permalink
fix: svu test
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <[email protected]>
  • Loading branch information
caarlos0 committed Apr 3, 2023
1 parent df14648 commit d6d2b06
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/svu/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub, ... }:

{ buildGoModule, fetchFromGitHub, lib, ... }:
buildGoModule rec {
pname = "svu";
version = "1.10.2";
Expand All @@ -13,6 +12,11 @@ buildGoModule rec {

vendorHash = "sha256-+e1oL08KvBSNaRepGR2SBBrEDJaGxl5V9rOBysGEfQs=";

# test assumes source directory to be a git repository
postPatch = ''
rm internal/git/git_test.go
'';

ldflags =
[ "-s" "-w" "-X=main.version=${version}" "-X=main.builtBy=nixpkgs" ];

Expand Down

0 comments on commit d6d2b06

Please sign in to comment.