elpaca-purifier

Locked, Nix-resolved dependencies for Emacs and Elpaca.

Quickstart

Prerequisites: An existing Emacs configuration using Elpaca, A batch-compatible capture configuration selecting the same packages as the editor.

nix shell 'github:nix-purifiers/elpaca-purifier'
elpaca-purifier lock --project .
emacs --init-directory "$PWD"

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

elpaca-purifier lock --update --project '<project_root>' --lock '<lockfile>'
elpaca-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

  • Public HTTPS Git package sources

Not supported

  • Custom package build steps and build variables
  • Shared Git repositories
  • Git submodules and native modules
  • External language servers

More information

Setup and activation · Version compatibility · Language tooling integration · Nix builds · Project projections.