No description
|
Adam C. Stephens
ca22c039a5
flake.lock: Update
Flake lock file updates: • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/49f0870db23e8c1ca0b5259734a02cd9e1e371a1' (2025年06月01日) → 'github:hercules-ci/flake-parts/57928607ea566b5db3ad13af0e57e921e6b12381' (2026年02月02日) • Updated input 'flake-parts/nixpkgs-lib': 'github:nix-community/nixpkgs.lib/656a64127e9d791a334452c6b6606d17539476e2' (2025年06月01日) → 'github:nix-community/nixpkgs.lib/72716169fe93074c333e8d0173151350670b824c' (2026年02月01日) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/c2a03962b8e24e669fb37b7df10e7c79531ff1a4' (2025年06月03日) → 'github:NixOS/nixpkgs/62c8382960464ceb98ea593cb8321a2cf8f9e3e5' (2026年01月30日) |
||
|---|---|---|
| .envrc | initial commit | |
| .gitignore | atomvm: 0.6.5-unstable-2025年06月03日 => 0.6.6-unstable-2026年02月01日 | |
| atomvm.nix | atomvm: 0.6.5-unstable-2025年06月03日 => 0.6.6-unstable-2026年02月01日 | |
| flake.lock | flake.lock: Update | |
| flake.nix | initial commit | |
| LICENSE | add license | |
| README.md | update example with tangled url | |
| uf2tool-bin.patch | initial commit | |
| uf2tool.nix | initial commit | |
AtomVM Nix
A Nix flake for building AtomVM, a tiny Erlang virtual machine for microcontrollers and embedded systems.
Overview
This flake provides packages for:
- atomvm - The main AtomVM runtime
- uf2tool - Tool for creating UF2 firmware files
Usage
Using the flake directly
# Run AtomVM
nix run git+https://codeberg.org/adamcstephens/atomvm.nix
nix run git+https://tangled.sh/@adam.robins.wtf/atomvm.nix
# Build AtomVM
nix build git+https://codeberg.org/adamcstephens/atomvm.nix
nix biuld git+https://tangled.sh/@adam.robins.wtf/atomvm.nix
In your own flake
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
atomvm.url = "git+https://codeberg.org/adamcstephens/atomvm.nix";
# atomvm.url = "git+https://tangled.sh/@adam.robins.wtf/atomvm.nix";
};
outputs = { nixpkgs, atomvm }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
devShells.${system}.default = pkgs.mkShell {
packages = [
atomvm.packages.${system}.atomvm
atomvm.packages.${system}.uf2tool
];
};
};
}
License
Apache License 2.0