chore(3p/sources): Bump channels & overlays

* //3p/gerrit: prevent python2 from crashing evaluating due to
  upstream now officially considering it insecure after being EOL
  for 3 years.

  Overriding the meta set has the benefit that we do not need to
  whitelist the package globally, forcing us to opt in everywhere
  the dependency is acceptable.

* //3p/overlays: bump tdlib so tazjin's emacs can build

Change-Id: I50df82d35d56b0dd44b5f687e2dcb101db79738d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7809
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
This commit is contained in:
sterni 2023-01-11 16:17:52 +01:00 committed by clbot
parent 43f6aec384
commit 423c2a09a9
3 changed files with 43 additions and 19 deletions

View file

@ -103,6 +103,25 @@ depot.nix.readTree.drvTargets {
# https://github.com/edolstra/nix-serve/issues/28
nix-serve = super.nix-serve.override { nix = super.nix_2_3; };
# To make //users/tazjin/emacs:tdlibCheck happy
# TODO(tazjin): upstream into nixpkgs
tdlib = super.tdlib.overrideAttrs (oldAttrs:
let
newVersion = "1.8.10";
rev = "64406035a72d523421fef6d0c07bdf56fee0761e";
sha256 = "018f5h9lpfqllbr08szqaxq3dk3sz2ljspbf3iifs8cq1jakm4c4";
in
assert self.lib.versionOlder oldAttrs.version newVersion;
{
version = newVersion;
src = self.fetchFromGitHub {
owner = "tdlib";
repo = "td";
inherit rev sha256;
};
}
);
# Avoid builds of mkShell derivations in CI.
mkShell = super.lib.makeOverridable (args: (super.mkShell args).overrideAttrs (_: {
passthru = {