about summary refs log tree commit diff
path: root/third_party/overlays
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-01-11T15·17+0100
committerclbot <clbot@tvl.fyi>2023-01-12T10·32+0000
commit423c2a09a917fa6490ab2b7bc305b8228659fcae (patch)
treed512c35c1649f9a3b50661bf66e5313dc1ddacad /third_party/overlays
parent43f6aec384978da8ba554f14ba89959051b47d94 (diff)
chore(3p/sources): Bump channels & overlays r/5650
* //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>
Diffstat (limited to 'third_party/overlays')
-rw-r--r--third_party/overlays/tvl.nix19
1 files changed, 19 insertions, 0 deletions
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 = {