init
This commit is contained in:
commit
83428f97f5
12 changed files with 187 additions and 0 deletions
25
devenv.nix
Normal file
25
devenv.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
processes."tongs:watch" = {
|
||||
cwd = "./combustcean-tongs";
|
||||
watch = {
|
||||
paths = [./combustcean-tongs/src];
|
||||
extensions = ["rs" "toml"];
|
||||
};
|
||||
exec = ''
|
||||
cargo build --target thumbv7em-none-eabihf --release && \
|
||||
run-fap ../target/thumbv7em-none-eabihf/release/combustcean-tongs.fap -p /dev/ttyACM0
|
||||
'';
|
||||
};
|
||||
|
||||
packages = with pkgs; [
|
||||
# keep-sorted start
|
||||
jujutsu
|
||||
# keep-sorted end
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue