Crate crate2nix

source ·
Expand description

§crate2nix

Internal library for the crate2nix binary. This is not meant to be used separately, I just enjoy writing doc tests ;)

Repository

Modules§

  • Managing the crate2nix.json config.
  • Code for invoking nix-build.
  • “Render” files using tera templates.
  • Manage nix-generated Cargo workspaces.
  • Homeless code. Usually abstract and algorithmic.

Structs§

  • The resolved build info and the input for rendering the build.nix.tera template.
  • Configuration for the default.nix generation.
  • Some info about the crate2nix invocation.