Ensure that downloads folder exists
This commit is contained in:
		
							parent
							
								
									4e0dc359f8
								
							
						
					
					
						commit
						b2adfebfa7
					
				
							
								
								
									
										
											BIN
										
									
								
								.wrap-arduino-cli.nix.swp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								.wrap-arduino-cli.nix.swp
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -21,6 +21,7 @@ let | ||||
|         (pkgs.writeTextDir "inventory.yaml" (builtins.toJSON {})) | ||||
|         (pkgs.writeTextDir "package_index.json" (builtins.toJSON {packages = [];})) | ||||
|         (pkgs.writeTextDir "library_index.json" (builtins.toJSON {libraries = [];})) | ||||
|         (pkgs.writeTextDir "staging/.dummy" "") | ||||
|       ]; | ||||
|     }; | ||||
|   in | ||||
| @ -31,7 +32,11 @@ let | ||||
|         inherit dataPath userPath; | ||||
|       }; | ||||
|     } '' | ||||
|       makeWrapper ${pkgs.arduino-cli}/bin/arduino-cli $out/bin/arduino-cli --set ARDUINO_UPDATER_ENABLE_NOTIFICATION false --set ARDUINO_DIRECTORIES_DATA ${dataPath} --set ARDUINO_DIRECTORIES_USER ${userPath} | ||||
|       makeWrapper ${pkgs.arduino-cli}/bin/arduino-cli $out/bin/arduino-cli \ | ||||
|         --set ARDUINO_UPDATER_ENABLE_NOTIFICATION false \ | ||||
|         --set ARDUINO_DIRECTORIES_DATA ${dataPath} \ | ||||
|         --set ARDUINO_DIRECTORIES_USER ${userPath} \ | ||||
|         --append-flags '--build-property commonhfile.fqfn=/tmp/esp8266common.h' | ||||
|     ''; | ||||
| in | ||||
|   lib.makeOverridable wrap | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user