Commit 14eaf39d authored by Adam Joseph's avatar Adam Joseph
Browse files

josh: cherry-pick upstream patch to fix build with rust 1.73

Our josh builds broke on staging with the new rustc 1.73:

  https://hydra.nixos.org/build/239619692/log/tail

This commit cherry-picks the fix (already merged upstream)

  https://github.com/josh-project/josh/pull/1290
parent dcbe9faa
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -30,6 +30,14 @@ rustPlatform.buildRustPackage rec {
      url = "https://github.com/josh-project/josh/commit/13e7565ab029206598881391db4ddc6dface692b.patch";
      sha256 = "1l5syqj51sn7kcqvffwl6ggn5sq8wfkpviga860agghnw5dpf7ns";
    })

    # Merged upstream, fixes builds with newer rustc
    (fetchpatch {
      name = "josh-fix-builds-with-rust-173.patch";
      url = "https://github.com/josh-project/josh/commit/7b8259b81a9acabb528ddebc4ab30fc712f756fb.patch";
      sha256 = "sha256-YfrVlH6Ox05ZbmB/15HVaFlOyRTOFbYflq0edi6/X9k=";
      includes = [ "josh-proxy/src/bin/josh-proxy.rs" ];
    })
  ];

  cargoSha256 = "0f6cvz2s8qs53b2g6xja38m24hafqla61s4r5za0a1dyndgms7sl";