node-problem-detector: buildFlags{,Array} -> ldflags, tags
also remove `-mod vendor` as it is the default with `buildGoModule`
This commit is contained in:
parent
de4743241f
commit
b0f7b71577
@ -28,11 +28,9 @@ buildGoModule rec {
|
||||
|
||||
buildInputs = lib.optionals stdenv.isLinux [ systemd ];
|
||||
|
||||
buildFlags = "-mod vendor" +
|
||||
lib.optionalString stdenv.isLinux " -tags journald";
|
||||
tags = lib.optionals stdenv.isLinux [ "journald" ];
|
||||
|
||||
buildFlagsArray = [
|
||||
"-ldflags="
|
||||
ldflags = [
|
||||
"-X k8s.io/${pname}/pkg/version.version=v${version}"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user