opam-purifier
Locked, Nix-resolved dependencies for opam.
Quickstart
nix shell 'github:nix-purifiers/opam-purifier'
opam-purifier lock
opam-purifier prefetch
source .opam-purifier/env.sh
dune build
dune test
Commit the lockfiles: opam-purifier.lock.json.
Development loop
Keep using the native build and test commands in your working tree. After changing dependency declarations, refresh the lock through the native lock workflow shown above.
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
More information
Setup and activation · Version compatibility · Using locked dependencies · Working offline · Language tooling integration · Nix builds · Troubleshooting.