update flake
This commit is contained in:
26
flake.nix
26
flake.nix
@@ -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/"
|
||||
# '';
|
||||
#};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user