nix fmt
This commit is contained in:
		
							parent
							
								
									3893afa8b4
								
							
						
					
					
						commit
						3effecf0ce
					
				
					 2 changed files with 23 additions and 17 deletions
				
			
		
							
								
								
									
										25
									
								
								default.nix
									
										
									
									
									
								
							
							
						
						
									
										25
									
								
								default.nix
									
										
									
									
									
								
							|  | @ -1,14 +1,17 @@ | |||
| { stdenv, zola, lib, ... }: | ||||
| { | ||||
|   stdenv, | ||||
|   zola, | ||||
|   lib, | ||||
|   ... | ||||
| }: | ||||
| with lib; | ||||
|   stdenv.mkDerivation { | ||||
|     pname = "posixlycorrect.com"; | ||||
|     version = "0.0.1"; | ||||
| 
 | ||||
| stdenv.mkDerivation { | ||||
|   pname = "posixlycorrect.com"; | ||||
|   version = "0.0.1"; | ||||
| 
 | ||||
|   src = ./posixlycorrect; | ||||
| 
 | ||||
|   buildPhase = '' | ||||
|     ${getExe zola} build --output-dir $out | ||||
|   ''; | ||||
| } | ||||
|     src = ./posixlycorrect; | ||||
| 
 | ||||
|     buildPhase = '' | ||||
|       ${getExe zola} build --output-dir $out | ||||
|     ''; | ||||
|   } | ||||
|  |  | |||
							
								
								
									
										15
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								flake.nix
									
										
									
									
									
								
							|  | @ -3,16 +3,19 @@ | |||
|     flake-utils.url = "github:numtide/flake-utils"; | ||||
|   }; | ||||
| 
 | ||||
|   outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: | ||||
|     let | ||||
|       pkgs = import nixpkgs { inherit system; }; | ||||
|     in | ||||
|     { | ||||
|   outputs = { | ||||
|     self, | ||||
|     nixpkgs, | ||||
|     flake-utils, | ||||
|   }: | ||||
|     flake-utils.lib.eachDefaultSystem (system: let | ||||
|       pkgs = import nixpkgs {inherit system;}; | ||||
|     in { | ||||
|       formatter = pkgs.alejandra; | ||||
| 
 | ||||
|       packages = rec { | ||||
|         default = posixlycorrect; | ||||
|         posixlycorrect = pkgs.callPackage ./. { }; | ||||
|         posixlycorrect = pkgs.callPackage ./. {}; | ||||
|       }; | ||||
|     }); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue