Since the source of nix-1p is checked in under //nix/nix-1p, we should use it from there if Nixery is being built inside of depot. Change-Id: Iddd54f7b93b398b2f909db6ee105366a9914a2ac Reviewed-on: https://cl.tvl.fyi/c/depot/+/5882 Reviewed-by: sterni <sternenseemann@systemli.org> Tested-by: BuildkiteCI Autosubmit: tazjin <tazjin@tvl.su>
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			529 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			529 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| # The canonical source location of nix-1p is //nix/nix-1p in the TVL
 | |
| # depot: https://code.tvl.fyi/about/nix/nix-1p
 | |
| #
 | |
| # This file configures TVL CI to mirror the subtree to GitHub.
 | |
| { depot ? { }, pkgs ? import <nixpkgs> { }, ... }:
 | |
| 
 | |
| (pkgs.runCommandLocal "nix-1p" { } ''
 | |
|   mkdir $out
 | |
|   cp ${./README.md} $out/README.md
 | |
| '').overrideAttrs (_: {
 | |
|   meta.ci.extraSteps.github = depot.tools.releases.filteredGitPush {
 | |
|     filter = ":/nix/nix-1p";
 | |
|     remote = "git@github.com:tazjin/nix-1p.git";
 | |
|     ref = "refs/heads/master";
 | |
|   };
 | |
| })
 |