- Create ./website directory - Add a sitemap to wpcarro.dev - Move covid-uk directory to sandbox directory TODO: Next sandbox, blog, and learn in the website directory
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ pkgs, briefcase, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  covid-uk = briefcase.sandbox.covid-uk;
 | 
						|
in pkgs.stdenv.mkDerivation {
 | 
						|
  name = "covid-uk";
 | 
						|
  buildInputs = [];
 | 
						|
  src = ./.;
 | 
						|
  buildPhase = ''
 | 
						|
    mkdir -p $out
 | 
						|
    cp $src/index.html $out
 | 
						|
    cp -r ${briefcase.sandbox.covid-uk} $out/covid-uk
 | 
						|
  '';
 | 
						|
  dontInstall = true;
 | 
						|
}
 |