Commit d19e76a7 authored by Fernando Rodrigues's avatar Fernando Rodrigues Committed by Masum Reza
Browse files

below: replace vendored patch with an upstream commit

parent c63de0f8
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  fetchpatch,
  rustPlatform,
  clang,
  pkg-config,
@@ -20,11 +21,16 @@ rustPlatform.buildRustPackage rec {
    hash = "sha256-tPweJFqhZMOL+M08bDjW6HPmtuhr9IXJNP0c938O7Cg=";
  };

  # Upstream forgot to commit an up-to-date lockfile.
  cargoPatches = [ ./update-Cargo.lock.patch ];
  cargoPatches = [
    (fetchpatch {
      name = "update-Cargo.lock.patch";
      url = "https://github.com/facebookincubator/below/commit/f46f9936ac29fa23f5cb02cafe93ae724649bafc.patch";
      hash = "sha256-J+M8FIuo8ToT3+9eZi5qfwfAW98XcNRqTIJd6O8z1Ig=";
    })
  ];

  useFetchCargoVendor = true;
  cargoHash = "sha256-uNeWdsvJtkUz3E1NL10heDC7B55yKzDMMYzRhEE32EQ=";
  cargoHash = "sha256-JrSSIwREHSg5YJivSdBIPjOkOtdw8qGCsa4yE7rJz/E=";

  prePatch = ''
    sed -i "s,ExecStart=.*/bin,ExecStart=$out/bin," etc/below.service
+0 −3079

File deleted.

Preview size limit exceeded, changes collapsed.