diff options
Diffstat (limited to 'pkgs/tools/misc/synth')
-rw-r--r-- | pkgs/tools/misc/synth/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/misc/synth/default.nix b/pkgs/tools/misc/synth/default.nix index 8be135c59d288..a0d0d509f6bb0 100644 --- a/pkgs/tools/misc/synth/default.nix +++ b/pkgs/tools/misc/synth/default.nix @@ -1,6 +1,7 @@ { lib , rustPlatform , fetchFromGitHub +, fetchpatch , stdenv , AppKit , Security @@ -19,6 +20,15 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "sha256-COy8szsYKEzjtRBH8063ug5BkMv3qpc3i2RNb+n4I04="; + patches = [ + # https://github.com/shuttle-hq/synth/pull/391 + (fetchpatch { + name = "fix-for-rust-1.65.patch"; + url = "https://github.com/shuttle-hq/synth/commit/c69b9b5c72441a51d09fc977de16b09a60eeecd3.patch"; + hash = "sha256-uRCf+rEYTRgYPyrAbcXNEwpB92tzN8oYgv+/TyJaoHo="; + }) + ]; + buildInputs = lib.optionals stdenv.isDarwin [ AppKit Security |