Change-Id: Icdec1dec89158fb596c5185ac7105892081947f5 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5252 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Autosubmit: tazjin <tazjin@tvl.su>
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			570 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			570 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { depot, pkgs, ... }:
 | |
| 
 | |
| depot.third_party.naersk.buildPackage {
 | |
|   src = ./.;
 | |
|   doDoc = false;
 | |
| 
 | |
|   override = x: {
 | |
|     # Use our custom bat syntax set, which is everything from upstream,
 | |
|     # plus additional languages we care about.
 | |
|     BAT_SYNTAXES = "${depot.third_party.bat_syntaxes}";
 | |
|   };
 | |
| 
 | |
|   passthru = {
 | |
|     # Wrapper for cgit which can't be told to pass arguments to a filter
 | |
|     about-filter = pkgs.writeShellScriptBin "cheddar-about" ''
 | |
|       exec ${depot.tools.cheddar}/bin/cheddar --about-filter $@
 | |
|     '';
 | |
|   };
 | |
| 
 | |
|   meta.ci.targets = [
 | |
|     "about-filter"
 | |
|   ];
 | |
| }
 |