From e2238d63156d4f914d62dde7c2a9319fe534d039 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 3 Feb 2022 14:29:25 +0100 Subject: fix(3p/rustsec-advisory-db): expose rev for nixpkgs-crate-holes Not sure if this used to work or if I started using the rev attribute in nixpkgs-crate-holes without actually testing it. The failure in any case is hidden from CI as it occurs at runtime, being hidden behind a function. Change-Id: Ib1db5393554a699c7c4b18697a9c9c902e93a507 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5199 Tested-by: BuildkiteCI Autosubmit: sterni Reviewed-by: tazjin --- third_party/rustsec-advisory-db/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/third_party/rustsec-advisory-db/default.nix b/third_party/rustsec-advisory-db/default.nix index b30e98fa4a..1441ff07a7 100644 --- a/third_party/rustsec-advisory-db/default.nix +++ b/third_party/rustsec-advisory-db/default.nix @@ -21,4 +21,7 @@ pkgs.fetchFromGitHub { rev sha256 ; + passthru = { + inherit (pin) rev; + }; } -- cgit 1.4.1