From 17f16a8bdefeac34aa62a974e4fdedd7336675dc Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 16 Dec 2022 16:13:53 +0300 Subject: chore(3p/overlays): bump crate2nix version to 0.11.0-rc1 This version supports newer Cargo features that are starting to appear in our dependencies. Change-Id: I2eb7efdf945cacc53e8ced6ac9cb0255d08ca582 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7589 Reviewed-by: flokli Autosubmit: tazjin Tested-by: BuildkiteCI --- third_party/overlays/tvl.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'third_party/overlays') diff --git a/third_party/overlays/tvl.nix b/third_party/overlays/tvl.nix index 9eca0814e03a..2d20264ff6db 100644 --- a/third_party/overlays/tvl.nix +++ b/third_party/overlays/tvl.nix @@ -102,4 +102,22 @@ in meta.ci.skip = true; }; })); + + # Pin a newer version of crate2nix from git, which is not officially + # released but supports `dep:` + crate2nix = super.crate2nix.overrideAttrs (old: rec { + version = "0.11.0-rc.1"; + + src = self.fetchFromGitHub { + owner = "kolloch"; + repo = "crate2nix"; + rev = "v0.11.0-rc.1"; + hash = "sha256:02yvn61w16sgkdxa019l5y9i2ybyk8h4516718gmarqxx5ws2kz8"; + }; + + cargoDeps = old.cargoDeps.overrideAttrs (_: { + inherit src; + outputHash = "sha256:03yny9ikqzfpi2mr27r82g54an2s8k9lqi2i4fqalg7g0s2cr2yd"; + }); + }); } -- cgit 1.4.1