Upgrade to the new Holonix
In the third quarter of 2024, we released a new Holonix, our development environment based on Nix that gives you all the dependencies to build hApps.
The new Holonix is simpler and more modular, which means that it’s easier to configure it for your needs and preferences.
Upgrade an existing project
The previous and the new Holonix distributions are both based on Nix’s flakes feature. Fortunately, this means it’s easy to upgrade. First back up and remove your project’s existing flake files:
mv flake.nix flake.nix.backup
mv flake.lock flake.lock.backup
Then create a new flake file:
nix flake init -t github:holochain/holonix?ref=main-0.3
For most projects, that’s all you need! If you have specific needs, such as targeting a specific Holochain version or release series, specifying build flags, or adding more Nix packages, read the Holonix readme.