alire-purifier
Locked, Nix-resolved dependencies for Alire and Ada.
Quickstart
nix shell 'github:nix-purifiers/alire-purifier'
alire-purifier lock
alr build
alr run
Commit the lockfiles: alire-purifier.lock.json.
Development loop
Keep using native build and test commands in your working tree. After changing dependency selection, refresh the lock and prepare the selected dependencies:
alire-purifier lock --update --project '<project_root>' --lock '<lockfile>'
alire-purifier prefetch --project '<project_root>' --lock '<lockfile>'
Use the project directory and lockfile from your setup for the placeholders.
Using locked dependencies
Without an applicable purifier lock, the supplied wrapper warns and runs the tool with its usual dependency resolution.
Working offline
Prepare dependencies using the Quickstart workflow before disconnecting. The lock covers the recorded dependency downloads; downloads performed outside that lock need separate inputs.
Supported scope
Target systems
- x86_64-linux
- aarch64-linux
Dependency sources
- Exact Git source origins selected by Alire
Not supported
- Architecture-dependent dependency selection without additional integration
- External system package providers
More information
Setup and activation · Version compatibility · Using locked dependencies · Working offline · Language tooling integration · Nix builds · Project projections.