diff --git a/pkgs/by-name/hc/hcloud/package.nix b/pkgs/by-name/hc/hcloud/package.nix index 75baa0d446e1..c9549ba22951 100644 --- a/pkgs/by-name/hc/hcloud/package.nix +++ b/pkgs/by-name/hc/hcloud/package.nix @@ -6,16 +6,16 @@ buildGoModule rec { pname = "hcloud"; - version = "1.48.0"; + version = "1.49.0"; src = fetchFromGitHub { owner = "hetznercloud"; repo = "cli"; rev = "refs/tags/v${version}"; - hash = "sha256-fD+aEt3jakfdrh68Ok0SiehOy3Sg+B+3HUGO8gSSxTQ="; + hash = "sha256-Va6OWoBSEO+u1J1jYG6O0u7urnNkAPqXPBCFCHYO7VU="; }; - vendorHash = "sha256-QO7K7nwFIYyJ5wGwuACWxzVf8mSX7JMsrbWqm6g5RCs="; + vendorHash = "sha256-dwuxywNtXeup1hF4XyOLzhA6c1l1HG+JZGG7naZA75E="; ldflags = [ "-s" @@ -23,6 +23,8 @@ buildGoModule rec { "-X=github.com/hetznercloud/cli/internal/version.Version=${version}" ]; + subPackages = [ "cmd/hcloud" ]; + nativeBuildInputs = [ installShellFiles ]; postInstall = ''