below: replace vendored patch with an upstream commit
Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
committed by
Masum Reza
parent
c63de0f864
commit
d19e76a70f
@@ -1,6 +1,7 @@
|
||||
{
|
||||
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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user