Fix broken upload script because of missing shebang
This commit is contained in:
@@ -59,9 +59,12 @@ let
|
||||
uploadArduinoSketch = arduinoEnv: {
|
||||
arduinoSketch
|
||||
, fqbn
|
||||
}: pkgs.writeScriptBin "upload-arduino-sketch" ''
|
||||
}: pkgs.writeShellApplication {
|
||||
name = "upload-arduino-sketch";
|
||||
text = ''
|
||||
${arduinoEnv}/bin/arduino-cli upload --log --input-dir=${arduinoSketch} --fqbn=${fqbn} "$@"
|
||||
'';
|
||||
};
|
||||
|
||||
binaryTarball = {
|
||||
arduinoSketch
|
||||
|
||||
Reference in New Issue
Block a user