chore(3p/sources): Bump channels & overlays
* //3p/overlays/tvl: apply more or less questionable compilation fix for electrum with protobuf >= 4. Change-Id: Iedbc45cb96b9e5382e304f2cd5ed9fc1c13f7884 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6850 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
55ea15ab83
commit
8f2c67d5dd
2 changed files with 24 additions and 9 deletions
15
third_party/overlays/tvl.nix
vendored
15
third_party/overlays/tvl.nix
vendored
|
|
@ -90,4 +90,19 @@ in
|
|||
meta.ci.skip = true;
|
||||
};
|
||||
}));
|
||||
|
||||
|
||||
# Build electrum with protobuf >= 4 by following hypothetical instructions from
|
||||
# upstream commit that pins to < 4
|
||||
# https://github.com/spesmilo/electrum/commit/52b73880f95be5cf51742fec10cde0a2e4b23de4
|
||||
# https://github.com/NixOS/nixpkgs/pull/194112
|
||||
electrum = super.electrum.overrideAttrs (old: {
|
||||
postPatch = ''
|
||||
# make compatible with protobuf4 by easing dependencies ...
|
||||
substituteInPlace ./contrib/requirements/requirements.txt \
|
||||
--replace "protobuf>=3.12,<4" "protobuf>=3.12"
|
||||
# ... and regenerating the paymentrequest_pb2.py file
|
||||
protoc --python_out=. electrum/paymentrequest.proto
|
||||
'' + old.postPatch or "";
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue