What is Tvix?
Tvix is a new implementation of Nix, designed as a purely-functional package manager with a modular architecture. This allows different components to be reused or replaced based on specific use-cases, providing flexibility for developers. The project is developed as a GPLv3-licensed open-source initiative by TVL, with its source code available in the TVL monorepo.
Key components include a preliminary REPL & CLI implementation, an evaluator for the Nix programming language, compatibility libraries for C++ Nix, and a store implementation that calculates paths without I/O. Developers can experiment with the language evaluator in Tvixbolt and access documentation and blog posts for updates and workflows.
Features
- Modular Implementation: Components can be reused or replaced based on use-case
- Purely-Functional Package Management: Ensures reproducible and reliable builds
- Nix Language Evaluator: Implements the Nix programming language for configuration
- Compatibility Libraries: Provides Rust libraries for compatibility with C++ Nix
- Store Implementation: Calculates store paths without performing I/O operations
Use Cases
- Developing and managing software packages with reproducible builds
- Experimenting with Nix language configurations in a REPL environment
- Integrating package management into custom development workflows
- Using modular components for specialized deployment scenarios