diff --git a/pkgs/applications/networking/cluster/rke/default.nix b/pkgs/applications/networking/cluster/rke/default.nix index f21db14ed626..0d76b62a8e18 100644 --- a/pkgs/applications/networking/cluster/rke/default.nix +++ b/pkgs/applications/networking/cluster/rke/default.nix @@ -13,6 +13,8 @@ buildGoModule rec { vendorHash = "sha256-zV1lrJhzrUAcEk6jYLCFrHcYw3CZart46qXErCTjZyQ="; + subPackages = [ "." ]; + ldflags = [ "-s" "-w" "-X=main.VERSION=v${version}" ]; meta = with lib; {