Nix development environment for AIngle
Reproducible development environment for AIngle using Nix. This provides a consistent, isolated build environment with all required dependencies for developing, building, and testing AIngle applications.
- Reproducible builds - Same environment on any machine
- Multi-platform - Linux (x86_64, aarch64) and macOS (Intel, Apple Silicon)
- Complete toolchain - Rust, Cargo, WASM tools, and all dependencies
- Isolated - No conflicts with system packages
- Fast setup - Single command to get started
- Nix package manager
- Nix flakes enabled (recommended)
Add to ~/.config/nix/nix.conf:
experimental-features = nix-command flakes
# Enter the development shell
nix develop github:ApiliumCode/ainglenix
# Or clone and enter locally
git clone https://github.com/ApiliumCode/ainglenix.git
cd ainglenix
nix develop| Tool | Version | Purpose |
|---|---|---|
| Rust | 1.75+ | Core language |
| Cargo | Latest | Package manager |
| wasm-pack | Latest | WASM compilation |
| Node.js | 18+ | JavaScript tooling |
| OpenSSL | Latest | Cryptography |
| pkg-config | Latest | Library discovery |
| Platform | Architecture | Status |
|---|---|---|
| Linux | x86_64 | Supported |
| Linux | aarch64 | Supported |
| macOS | x86_64 (Intel) | Supported |
| macOS | aarch64 (Apple Silicon) | Supported |
# Clone AIngle
git clone https://github.com/ApiliumCode/aingle.git
cd aingle
# Enter development environment
nix develop github:ApiliumCode/ainglenix
# Build the project
cargo build --release
# Run tests
cargo testCreate a flake.nix in your project:
{
inputs = {
ainglenix.url = "github:ApiliumCode/ainglenix";
};
outputs = { self, ainglenix }:
ainglenix.lib.mkFlake {
# Add your customizations here
};
}This repository is part of the AIngle ecosystem - a Semantic DAG framework for IoT and distributed AI applications.
Licensed under the Apache License, Version 2.0. See LICENSE for details.
Maintained by Apilium Technologies - Tallinn, Estonia