forked from mirrors/nixpkgs
cloudflared: 2022.5.2 -> 2022.7.1 (#182768)
Co-authored-by: Winter <winter@winter.cafe> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
a44c9a37c7
commit
785b28bee3
|
@ -2,18 +2,18 @@
|
|||
|
||||
buildGoModule rec {
|
||||
pname = "cloudflared";
|
||||
version = "2022.5.2";
|
||||
version = "2022.7.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cloudflare";
|
||||
repo = "cloudflared";
|
||||
rev = version;
|
||||
hash = "sha256-xE/Bc+6Ob2u4tQQoykoaa8MhFH2czwz5rMABUqfXNMM=";
|
||||
hash = "sha256-kc6+jn4eTCw37u+kPJdx/kxiaj8MnIddDbUFpPfWdlw=";
|
||||
};
|
||||
|
||||
vendorSha256 = null;
|
||||
|
||||
ldflags = [ "-X main.Version=${version}" ];
|
||||
ldflags = [ "-s" "-w" "-X main.Version=${version}" ];
|
||||
|
||||
preCheck = ''
|
||||
# Workaround for: sshgen_test.go:74: mkdir /homeless-shelter/.cloudflared: no such file or directory
|
||||
|
|
Loading…
Reference in a new issue