Change-Id: I80443e88180e87c7f7b7c8ae322c5076d1ce0a02 Reviewed-on: https://cl.tvl.fyi/c/depot/+/12422 Tested-by: BuildkiteCI Reviewed-by: tazjin <tazjin@tvl.su>
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			348 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			348 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ depot, pkgs, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  em = depot.tools.eaglemode;
 | 
						|
in
 | 
						|
em.mkCommand {
 | 
						|
  name = "9 B";
 | 
						|
  hotkey = "Ctrl+E";
 | 
						|
  icon = "${./plan9.tga}";
 | 
						|
 | 
						|
  description = ''
 | 
						|
    Plumb target to Sam or Acme
 | 
						|
  '';
 | 
						|
 | 
						|
  code = ''
 | 
						|
    ErrorIfNotSingleTarget();
 | 
						|
 | 
						|
    my @tgt=GetTgt();
 | 
						|
    my $dir=$tgt[0];
 | 
						|
 | 
						|
    ExecOrError('${pkgs.plan9port}/bin/9', 'B', $dir);
 | 
						|
  '';
 | 
						|
}
 |