conan-purifier

Locked, Nix-resolved dependencies for Conan 2.

Quickstart

nix shell 'github:nix-purifiers/conan-purifier'
conan-purifier lock
conan-purifier prefetch
conan install . --output-folder build --build=missing
conan build . --output-folder build

Commit the lockfiles: conan.lock, conan-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.

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

More information

Setup and activation · Version compatibility · Using locked dependencies · Nix builds · Project projections.