Fix broken upload script because of missing shebang

This commit is contained in:
2025-10-17 15:38:37 +02:00
parent b53c9c75cf
commit d25704ee86

View File

@@ -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