Skip to content

Commit

Permalink
cicd: added buildFlags
Browse files Browse the repository at this point in the history
  • Loading branch information
alienc0der committed Nov 21, 2024
1 parent dd170b0 commit ca9e14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ buildGoApplication rec {
modules = ./gomod2nix.toml;
pwd = src; # needed to support replace
subPackages = [ "cmd/cronosd" ];
buildFlags = lib.optionalString coverage "-cover";
buildFlags = [ "-mod=mod" ] ++ lib.optionalString coverage "-cover";
CGO_ENABLED = "1";
CGO_LDFLAGS = lib.optionalString (rocksdb != null) (
if static then
Expand Down

0 comments on commit ca9e14e

Please sign in to comment.