Arduino: Difference between revisions
imported>Clerie No edit summary |
tweak shell.nix |
||
| Line 14: | Line 14: | ||
=== shell.nix === | === shell.nix === | ||
< | <syntaxhighlight lang="nix"> | ||
{ pkgs ? import <nixpkgs> {} }: | { | ||
pkgs ? import <nixpkgs> { }, | |||
}: | |||
pkgs.callPackage ( | |||
mkShell { | { | ||
mkShell, | |||
arduino, | |||
}: | |||
mkShell { | |||
strictDeps = true; | |||
} | nativeBuildInputs = [ | ||
</ | arduino | ||
]; | |||
} | |||
) { } | |||
</syntaxhighlight> | |||
=== Upload program === | === Upload program === | ||