From 898769de6266b08bd35fde051db83c6064c7e53f Mon Sep 17 00:00:00 2001 From: Theodore Ni <3806110+tjni@users.noreply.github.com> Date: Sun, 27 Nov 2022 00:13:23 -0800 Subject: [PATCH] _3mux: update patches Use patch that has been merged upstream instead of one that is on my fork. This requires pulling in another patch too so that it can apply cleanly. --- pkgs/tools/misc/3mux/default.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/pkgs/tools/misc/3mux/default.nix b/pkgs/tools/misc/3mux/default.nix index 31787467525f..9ec4572328e7 100644 --- a/pkgs/tools/misc/3mux/default.nix +++ b/pkgs/tools/misc/3mux/default.nix @@ -12,18 +12,24 @@ buildGoModule rec { }; patches = [ + # Needed so that the subsequent patch applies. + (fetchpatch { + name = "use-shorter-uuids.patch"; + url = "https://github.com/aaronjanse/3mux/commit/6dd36694586f96e3c82ef7db1a0e7917ceb05794.patch"; + hash = "sha256-FnFupOIIQi66mvjshn3EQ6XRzC4cLx3vGTeTUM1HOwM="; + }) # Fix the build for Darwin when building with Go 1.18. # https://github.com/aaronjanse/3mux/pull/127 (fetchpatch { name = "darwin-go-1.18-fix.patch"; - url = "https://github.com/aaronjanse/3mux/commit/91aed826c50f75a5175b63c72a1fb6a4ad57a008.patch"; - sha256 = "sha256-MOPAyWAYYWrlCCgw1rBaNmHZO9oTIpIQwLJcs0aY/m8="; + url = "https://github.com/aaronjanse/3mux/commit/f2c26c1037927896d6e9a17ea038f8260620fbd4.patch"; + hash = "sha256-RC3p30r0PGUKrxo8uOLL02oyfLqLfhNjBYy6E+OQ2f0="; }) ]; nativeBuildInputs = [ makeWrapper ]; - vendorSha256 = "sha256-qt8MYnvbZMuU1VwdSij6+x4N0r10c1R5Gcm+jDt76uc="; + vendorHash = "sha256-KMcl6mj+cEgvdZMzBxUtGJsgwPdFuXrY3yjmkB3CS4o="; # This is a package used for internally testing 3mux. It's meant for # use by 3mux maintainers/contributors only.