chore(edef/users/depot-scan): move to a subdir
Change-Id: If202b466aa0874048e89e0dc270ff14883510131 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1652 Reviewed-by: edef <edef@edef.eu> Tested-by: BuildkiteCI
This commit is contained in:
		
							parent
							
								
									fcffacf8c9
								
							
						
					
					
						commit
						68ab0a0705
					
				
					 3 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -8,5 +8,5 @@ pkgs.writeShellScriptBin "depot-scan" ''
 | 
				
			||||||
  attr="''${path//\//.}"
 | 
					  attr="''${path//\//.}"
 | 
				
			||||||
  root="$(git rev-parse --show-toplevel)"
 | 
					  root="$(git rev-parse --show-toplevel)"
 | 
				
			||||||
  echo "scanning //$path" >&2
 | 
					  echo "scanning //$path" >&2
 | 
				
			||||||
  nix-instantiate -E "import ${./depot-scan-wrap.nix} {} $root" -A "$attr" -vv 2> >(${pkgs.perl}/bin/perl ${./depot-scan.pl}) >&2
 | 
					  nix-instantiate -E "import ${./wrap.nix} $root" -A "$attr" -vv 2> >(${pkgs.perl}/bin/perl ${./depot-scan.pl}) >&2
 | 
				
			||||||
''
 | 
					''
 | 
				
			||||||
| 
						 | 
					@ -1,7 +1,5 @@
 | 
				
			||||||
# this wraps import to override readFile and readDir to trace the files it touches
 | 
					# this wraps import to override readFile and readDir to trace the files it touches
 | 
				
			||||||
# technique inspired by lorri
 | 
					# technique inspired by lorri
 | 
				
			||||||
{ ... }:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
let
 | 
					let
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  global = {
 | 
					  global = {
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue