mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
kubectl-gadget: update version ldflag to match upstream
This commit is contained in:
@@ -17,7 +17,7 @@ buildGoModule rec {
|
||||
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X github.com/inspektor-gadget/inspektor-gadget/cmd/common.version=v${version}"
|
||||
"-X github.com/inspektor-gadget/inspektor-gadget/internal/version.version=v${version}"
|
||||
"-X main.gadgetimage=ghcr.io/inspektor-gadget/inspektor-gadget:v${version}"
|
||||
"-extldflags=-static"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user