kubeval: fix darwin build
This commit is contained in:
parent
26de396aa8
commit
3f450df5b4
|
@ -1,7 +1,7 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildGoModule
|
||||
, makeWrapper
|
||||
, fetchpatch
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
|
@ -15,7 +15,16 @@ buildGoModule rec {
|
|||
sha256 = "sha256-pwJOV7V78H2XaMiiJvKMcx0dEwNDrhgFHmCRLAwMirg=";
|
||||
};
|
||||
|
||||
vendorSha256 = "sha256-OAFxEb7IWhyRBEi8vgmekDSL/YpmD4EmUfildRaPR24=";
|
||||
patches = [
|
||||
# https://github.com/instrumenta/kubeval/pull/346
|
||||
(fetchpatch {
|
||||
name = "bump-golang.org/x/sys.patch";
|
||||
url = "https://github.com/instrumenta/kubeval/commit/d64502b04d9e1b85fd3d5509049adb50f3e39954.patch";
|
||||
sha256 = "sha256-S/lgwdykFLU2QZRW927fgCPxaIAMK3vSqmH08pXBQxM=";
|
||||
})
|
||||
];
|
||||
|
||||
vendorSha256 = "sha256-R/vVrLsVSA9SGra4ytoHlQkPaIgQaj/XdivcQp8xjSM=";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue