diff options
author | figsoda <figsoda@pm.me> | 2022-12-13 22:24:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-13 22:24:02 -0500 |
commit | 1c67a76d4cf9d4f2f9414dc978bcdea0a61ca5a1 (patch) | |
tree | b258ce17ce5fe613e2e8b17fbe3f4095c9e85335 /pkgs/tools/virtualization | |
parent | 03354f45abe4241a2bdacf569f0711c53b2bb8e6 (diff) | |
parent | 2c78bbbbb45e4854cf714968cdc293c3f31ceba4 (diff) |
Merge pull request #205948 from ereslibre/fix-reg-aarch64-darwin
reg: Fix aarch64-darwin build
Diffstat (limited to 'pkgs/tools/virtualization')
-rw-r--r-- | pkgs/tools/virtualization/reg/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/tools/virtualization/reg/default.nix b/pkgs/tools/virtualization/reg/default.nix index a1b246aff0d3a..eaa937f6f3265 100644 --- a/pkgs/tools/virtualization/reg/default.nix +++ b/pkgs/tools/virtualization/reg/default.nix @@ -1,4 +1,5 @@ { lib +, fetchpatch , fetchFromGitHub , buildGoModule }: @@ -14,6 +15,20 @@ buildGoModule rec { sha256 = "1jlza1czfssssi3y9zi6kr8k9msfa7vp215ibhwbz4h97av5xw5m"; }; + patches = [ + # https://github.com/genuinetools/reg/pull/218 + (fetchpatch { + name = "update-x-sys-for-go-1.18-on-aarch64-darwin.patch"; + url = "https://github.com/genuinetools/reg/commit/f37b04ad8be47f1e68ef9b2c5906324d7096231e.patch"; + hash = "sha256-wmBjPdrpNpxx//I+d+k8DNR11TmyXxb84vXR/MrYHKA="; + }) + (fetchpatch { + name = "update-vendored-dependencies.patch"; + url = "https://github.com/genuinetools/reg/commit/8bb04bc3fd41c089716e65ee905c6feac8bda5a0.patch"; + hash = "sha256-5nZaayy0xu7sOJHVCp6AotINiF7vXk2Jic8SR8ZrH/g="; + }) + ]; + vendorSha256 = null; doCheck = false; |