platformio and vscode mods (using AI)

This commit is contained in:
Olaf Kolkman
2026-09-13 14:19:11 +02:00
parent 56b4fd88c0
commit cac3b86098
2 changed files with 17 additions and 4 deletions
+15 -3
View File
@@ -101,15 +101,27 @@
nativeBuildInputs = with pkgs; [
bashInteractive
git
pkgs.nixd
];
packages = with pkgs; [
platformio-core
(writeShellScriptBin "python" ''
if [ "$1" = "-m" ] && [ "$2" = "platformio" ]; then
shift 2
exec ${platformio-core}/bin/platformio "$@"
fi
exec ${python3}/bin/python3 "$@"
'')
openocd
avrdude
];
shellHook = ''
export EDITOR=vim
export PLATFORMIO_CORE_DIR="$PWD/.platformio"
'';
buildInputs = with pkgs; [
rnix-lsp
];
};
};