We needed a derivation for that, but this can also be used in the Nixery docs building process (which includes nix-1p). Change-Id: If97cf785a33d703af975da3b41de9b69566dfa81 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5789 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			509 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			509 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.md" { } ''
 | |
|   cp ${./README.md} $out
 | |
| '').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";
 | |
|   };
 | |
| })
 |