Loading pkgs/development/tools/hcloud/default.nix +10 −5 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, installShellFiles }: { lib , buildGoModule , fetchFromGitHub , installShellFiles }: buildGoModule rec { pname = "hcloud"; Loading @@ -7,15 +11,16 @@ buildGoModule rec { src = fetchFromGitHub { owner = "hetznercloud"; repo = "cli"; rev = "v${version}"; sha256 = "sha256-6UQaO2ArAYd6Lr1maciC83k1GlR8FLx+acAZh6SjI3g="; rev = "refs/tags/v${version}"; hash = "sha256-6UQaO2ArAYd6Lr1maciC83k1GlR8FLx+acAZh6SjI3g="; }; vendorHash = "sha256-mxAG3o3IY70xn8WymUzF96Q2XWwQ0efWrrw1VV4Y8HU="; ldflags = [ "-s" "-w" "-X github.com/hetznercloud/cli/internal/version.Version=${version}" "-s" "-w" "-X=github.com/hetznercloud/cli/internal/version.Version=${version}" ]; nativeBuildInputs = [ installShellFiles ]; Loading Loading
pkgs/development/tools/hcloud/default.nix +10 −5 Original line number Diff line number Diff line { lib, buildGoModule, fetchFromGitHub, installShellFiles }: { lib , buildGoModule , fetchFromGitHub , installShellFiles }: buildGoModule rec { pname = "hcloud"; Loading @@ -7,15 +11,16 @@ buildGoModule rec { src = fetchFromGitHub { owner = "hetznercloud"; repo = "cli"; rev = "v${version}"; sha256 = "sha256-6UQaO2ArAYd6Lr1maciC83k1GlR8FLx+acAZh6SjI3g="; rev = "refs/tags/v${version}"; hash = "sha256-6UQaO2ArAYd6Lr1maciC83k1GlR8FLx+acAZh6SjI3g="; }; vendorHash = "sha256-mxAG3o3IY70xn8WymUzF96Q2XWwQ0efWrrw1VV4Y8HU="; ldflags = [ "-s" "-w" "-X github.com/hetznercloud/cli/internal/version.Version=${version}" "-s" "-w" "-X=github.com/hetznercloud/cli/internal/version.Version=${version}" ]; nativeBuildInputs = [ installShellFiles ]; Loading