shells: make barebones rust shell and create additional screeps shell
This commit is contained in:
		
							parent
							
								
									530cd5e386
								
							
						
					
					
						commit
						f8dfe861b3
					
				
					 2 changed files with 36 additions and 10 deletions
				
			
		|  | @ -16,20 +16,11 @@ | |||
|   ... | ||||
| }: | ||||
| let | ||||
|   fenix = | ||||
|     with inputs.fenix.packages.${system}; | ||||
|     combine [ | ||||
|       latest.toolchain | ||||
|       targets.wasm32-unknown-unknown.latest.rust-std | ||||
|     ]; | ||||
|   fenix = inputs.fenix.packages.${system}.latest.toolchain; | ||||
| in | ||||
| mkShell { | ||||
|   # Create your shell | ||||
|   nativeBuildInputs = [ | ||||
|     fenix | ||||
|     pkgs.llvmPackages.bintools | ||||
|     pkgs.wasm-pack | ||||
|   ]; | ||||
| 
 | ||||
|   CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_LINKER = "lld"; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue