From 423c2a09a917fa6490ab2b7bc305b8228659fcae Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 11 Jan 2023 16:17:52 +0100 Subject: 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 Tested-by: BuildkiteCI Reviewed-by: tazjin --- third_party/overlays/tvl.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'third_party/overlays/tvl.nix') diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index bb41ec129e53..8b4531e1bdb7 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -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 = { -- cgit 1.4.1