1
0
Fork
You've already forked atomvm.nix
0
No description
  • Nix 100%
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日)
2026年02月01日 23:45:28 -05:00
.envrc initial commit 2025年06月04日 09:05:52 -04:00
.gitignore atomvm: 0.6.5-unstable-2025年06月03日 => 0.6.6-unstable-2026年02月01日 2026年02月01日 23:45:28 -05:00
atomvm.nix atomvm: 0.6.5-unstable-2025年06月03日 => 0.6.6-unstable-2026年02月01日 2026年02月01日 23:45:28 -05:00
flake.lock flake.lock: Update 2026年02月01日 23:45:28 -05:00
flake.nix initial commit 2025年06月04日 09:05:52 -04:00
LICENSE add license 2025年06月04日 09:09:48 -04:00
README.md update example with tangled url 2025年06月05日 09:04:07 -04:00
uf2tool-bin.patch initial commit 2025年06月04日 09:05:52 -04:00
uf2tool.nix initial commit 2025年06月04日 09:05:52 -04:00

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