3
0
Fork 0
forked from mirrors/nixpkgs

curlie: fix build on darwin

This commit is contained in:
Weijia Wang 2022-09-28 20:04:04 +02:00
parent 979a581e10
commit 091016de0b
2 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,13 @@
diff --git a/go.mod b/go.mod
index 660463a..5249458 100644
--- a/go.mod
+++ b/go.mod
@@ -2,7 +2,7 @@ module github.com/rs/curlie
require (
golang.org/x/crypto v0.0.0-20180524125353-159ae71589f3
- golang.org/x/sys v0.0.0-20191026070338-33540a1f6037
+ golang.org/x/sys v0.0.0-20211110154304-99a53858aa08
)
go 1.13

View file

@ -11,7 +11,11 @@ buildGoModule rec {
hash = "sha256-3EKxuEpFm+lp2myMfymYYY9boSXGOF2iAdjtGKnjJK0=";
};
vendorSha256 = "sha256-tYZtnD7RUurhl8yccXlTIvOxybBJITM+it1ollYJ1OI=";
patches = [
./bump-golang-x-sys.patch
];
vendorSha256 = "sha256-VsPdMUfS4UVem6uJgFISfFHQEKtIumDQktHQFPC1muc=";
ldflags = [ "-s" "-w" "-X main.version=${version}" ];