Let's try adding install phase steps to phanpy
This commit is contained in:
		
							parent
							
								
									5824e00999
								
							
						
					
					
						commit
						9e566f5d50
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -25,6 +25,12 @@ buildNpmPackage rec {
 | 
			
		|||
  # The prepack script runs the build script, which we'd rather do in the build phase.
 | 
			
		||||
  npmPackFlags = ["--ignore-scripts"];
 | 
			
		||||
 | 
			
		||||
  installPhase = ''
 | 
			
		||||
    mkdir $out
 | 
			
		||||
    npm run build
 | 
			
		||||
    cp dist/index.html $out
 | 
			
		||||
  '';
 | 
			
		||||
 | 
			
		||||
  meta = with lib; {
 | 
			
		||||
    description = "Minimalistic opinionated Mastodon web client.";
 | 
			
		||||
    homepage = "https://phanpy.social/";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue