devshells: add website devshell
This commit is contained in:
		
							parent
							
								
									a9280b78cd
								
							
						
					
					
						commit
						f1ebe05f1d
					
				
					 3 changed files with 22 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								outputs/devshells/website.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								outputs/devshells/website.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,14 @@ | |||
| {pkgs, ...}: let | ||||
|   inherit (builtins) attrValues; | ||||
| in { | ||||
|   name = "ooknet website devshell"; | ||||
|   packages = attrValues { | ||||
|     inherit (pkgs) zola; | ||||
|   }; | ||||
|   shellHook = '' | ||||
|     echo "Entering website devshell"; | ||||
|     cd $WEBSITE/src | ||||
|     echo "Serving website" | ||||
|     zola serve | ||||
|   ''; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue