Update versions in README
This commit is contained in:
		
							parent
							
								
									be78669a4f
								
							
						
					
					
						commit
						de1528a0a3
					
				
					 2 changed files with 12 additions and 22 deletions
				
			
		
							
								
								
									
										12
									
								
								README.md
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
										
									
									
									
								
							|  | @ -131,7 +131,7 @@ The sections below list what each template includes. In all cases, you're free t | ||||||
| 
 | 
 | ||||||
| ### [`nickel`](./nickel/) | ### [`nickel`](./nickel/) | ||||||
| 
 | 
 | ||||||
| - [Nickel] 0.1.0 | - [Nickel] 0.2.0 | ||||||
| 
 | 
 | ||||||
| ### [`nim`](./nim) | ### [`nim`](./nim) | ||||||
| 
 | 
 | ||||||
|  | @ -151,6 +151,7 @@ The sections below list what each template includes. In all cases, you're free t | ||||||
| ### [`node`](./node/) | ### [`node`](./node/) | ||||||
| 
 | 
 | ||||||
| - [Node.js][node] 18.7.0 | - [Node.js][node] 18.7.0 | ||||||
|  | - [npm] 8.15.0 | ||||||
| - [pnpm] 7.3.0 | - [pnpm] 7.3.0 | ||||||
| - [Yarn] 1.22.19 | - [Yarn] 1.22.19 | ||||||
| - [node2nix] 1.11.1 | - [node2nix] 1.11.1 | ||||||
|  | @ -158,7 +159,7 @@ The sections below list what each template includes. In all cases, you're free t | ||||||
| ### [`opa`](./opa/) | ### [`opa`](./opa/) | ||||||
| 
 | 
 | ||||||
| - [Open Policy Agent][opa] 0.43.0 | - [Open Policy Agent][opa] 0.43.0 | ||||||
| - [Conftest] 0.33.2 | - [Conftest] 0.34.0 | ||||||
| 
 | 
 | ||||||
| ### [`protobuf`](./protobuf/) | ### [`protobuf`](./protobuf/) | ||||||
| 
 | 
 | ||||||
|  | @ -168,8 +169,8 @@ The sections below list what each template includes. In all cases, you're free t | ||||||
| ### [`python`](./python/) | ### [`python`](./python/) | ||||||
| 
 | 
 | ||||||
| - [Python] 3.11.0b4 | - [Python] 3.11.0b4 | ||||||
| - [pip] | - [pip] 22.1.2 | ||||||
| - [Virtualenv] | - [Virtualenv] 20.15.1 | ||||||
| - [mach-nix] | - [mach-nix] | ||||||
| 
 | 
 | ||||||
| ### [`ruby`](./ruby/) | ### [`ruby`](./ruby/) | ||||||
|  | @ -184,7 +185,7 @@ The sections below list what each template includes. In all cases, you're free t | ||||||
|   - From the `rust-toolchain` file if present |   - From the `rust-toolchain` file if present | ||||||
|   - Version 1.6.2 if neither is present |   - Version 1.6.2 if neither is present | ||||||
| 
 | 
 | ||||||
| - [rust-analyzer] 2022-07-11 | - [rust-analyzer] 2022-08-01 | ||||||
| - [cargo-audit] 0.17.0 | - [cargo-audit] 0.17.0 | ||||||
| - [cargo-deny] 0.12.1 | - [cargo-deny] 0.12.1 | ||||||
| - [cross] 0.2.4 | - [cross] 0.2.4 | ||||||
|  | @ -251,6 +252,7 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T | ||||||
| [nomad]: https://nomadproject.io | [nomad]: https://nomadproject.io | ||||||
| [nomad-autoscaler]: TOhttps://github.com/hashicorp/nomad-autoscaler | [nomad-autoscaler]: TOhttps://github.com/hashicorp/nomad-autoscaler | ||||||
| [nomad-pack]: https://github.com/hashicorp/nomad-pack | [nomad-pack]: https://github.com/hashicorp/nomad-pack | ||||||
|  | [npm]: https://npmjs.org | ||||||
| [opa]: https://openpolicyagent.org | [opa]: https://openpolicyagent.org | ||||||
| [packer]: https://packer.io | [packer]: https://packer.io | ||||||
| [pip]: https://pypi.org/project/pip | [pip]: https://pypi.org/project/pip | ||||||
|  |  | ||||||
							
								
								
									
										22
									
								
								flake.nix
									
										
									
									
									
								
							
							
						
						
									
										22
									
								
								flake.nix
									
										
									
									
									
								
							|  | @ -132,37 +132,25 @@ | ||||||
|       let |       let | ||||||
|         pkgs = import nixpkgs { inherit system; }; |         pkgs = import nixpkgs { inherit system; }; | ||||||
|         inherit (pkgs) mkShell writeScriptBin; |         inherit (pkgs) mkShell writeScriptBin; | ||||||
|         run = pkg: "${pkgs.${pkg}}/bin/${pkg}"; |         exec = pkg: "${pkgs.${pkg}}/bin/${pkg}"; | ||||||
| 
 | 
 | ||||||
|         format = writeScriptBin "format" '' |         format = writeScriptBin "format" '' | ||||||
|           ${run "nixfmt"} **/*.nix |           ${exec "nixfmt"} **/*.nix | ||||||
|         ''; |         ''; | ||||||
| 
 | 
 | ||||||
|         update = writeScriptBin "update" '' |         update = writeScriptBin "update" '' | ||||||
|           # Update root |  | ||||||
|           ${run "nix"} flake update |  | ||||||
| 
 |  | ||||||
|           for dir in `ls -d */`; do # Iterate through all the templates |           for dir in `ls -d */`; do # Iterate through all the templates | ||||||
|             ( |             ( | ||||||
|               cd $dir |               cd $dir | ||||||
|               ${run "nix"} flake update # Update flake.lock |               ${exec "nix"} flake update # Update flake.lock | ||||||
|               ${run "direnv"} reload    # Make sure things work after the update |               ${exec "direnv"} reload    # Make sure things work after the update | ||||||
|             ) |  | ||||||
|           done |  | ||||||
|         ''; |  | ||||||
| 
 |  | ||||||
|         visit = writeScriptBin "visit" '' |  | ||||||
|           for dir in `ls -d */`; do |  | ||||||
|             ( |  | ||||||
|               cd $dir |  | ||||||
|               ${run "direnv"} reload |  | ||||||
|             ) |             ) | ||||||
|           done |           done | ||||||
|         ''; |         ''; | ||||||
|       in { |       in { | ||||||
|         devShells = { |         devShells = { | ||||||
|           default = mkShell { |           default = mkShell { | ||||||
|             buildInputs = [ format update visit ]; |             buildInputs = [ format update ]; | ||||||
|           }; |           }; | ||||||
|         }; |         }; | ||||||
|       } |       } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue