Merge pull request #201442 from tjni/synth-rust-1.65

synth: apply patch to fix on rust 1.65
This commit is contained in:
figsoda 2022-11-16 09:15:07 -05:00 committed by GitHub
commit 189cfcdf79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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