update flake

This commit is contained in:
2023-02-28 09:48:17 +01:00
parent 300124a1fd
commit 632bb40e18

View File

@@ -14,15 +14,37 @@
in
{
devShell = pkgs.mkShell {
ARDUINO_PATH="${pkgs.arduino-core}";
shellHok = ''
echo "entering pentatrack devenv"
export PATH="$PATH:${pkgs.arduino-core}/share/arduino/"
'';
nativeBuildInputs = [
pkgs.python310Packages.grip
nativeBuildInputs = with pkgs; [
python310Packages.grip
arduino
arduino-cli
];
};
# here some compiler commands would be necessary i guess lul
#packages.PentaTrack = pkgs.mkDerivation rec {
# name = "PentaTrack_v${version}";
# src = ./.;
# version = "0.1.0";
# ARDUINO_PATH="${pkgs.arduino-core}";
# buildInputs = with pkgs; [
# arduino
# ];
# shellHook = ''
# export PATH="$PATH:${pkgs.arduino-core}/share/arduino/"
# '';
#};
}
);
}