about summary refs log tree commit diff
path: root/third_party/rustsec-advisory-db
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2022-02-03T13·29+0100
committerclbot <clbot@tvl.fyi>2022-02-03T23·40+0000
commite2238d63156d4f914d62dde7c2a9319fe534d039 (patch)
treea2d321fd3fc3af1af2aabee79b4844db2bd05644 /third_party/rustsec-advisory-db
parentcf5f9d5ead38a2f9d993a091f3ce69c616066e15 (diff)
fix(3p/rustsec-advisory-db): expose rev for nixpkgs-crate-holes r/3759
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 <sternenseemann@systemli.org>
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'third_party/rustsec-advisory-db')
-rw-r--r--third_party/rustsec-advisory-db/default.nix3
1 files changed, 3 insertions, 0 deletions
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;
+  };
 }