This will make sure that the db is updated regularly (on every channel bump). This is fine, because an advisory no longer implies a build failure. Change-Id: I1dc0b335e0881b5c58015da63c3c47f1ab1e645f Reviewed-on: https://cl.tvl.fyi/c/depot/+/4554 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			286 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			286 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
# RustSec's advisory db for crates
 | 
						|
{ pkgs, depot, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  inherit (depot.third_party.sources) rustsec-advisory-db;
 | 
						|
in
 | 
						|
 | 
						|
pkgs.fetchFromGitHub {
 | 
						|
  inherit (rustsec-advisory-db)
 | 
						|
    owner
 | 
						|
    repo
 | 
						|
    sha256
 | 
						|
    rev
 | 
						|
    ;
 | 
						|
 | 
						|
  passthru = {
 | 
						|
    inherit (rustsec-advisory-db) rev;
 | 
						|
  };
 | 
						|
}
 |