Skip to content

Document how to use crane inside of an overlay #930

@samestep

Description

@samestep

Is your feature request related to a problem? Please describe.
I have a project written in Rust for which I provide an overlay to make it easy to use via, e.g., Home Manager. I'm not confident that I wrote the overlay correctly; currently I use crane.mkLib final, but I can't tell if I should actually be doing crane.mkLib prev instead, or if actually neither are correct and I should do something more subtle.

Describe the solution you'd like
It would be great if the crane docs could describe whether, when defining a Nixpkgs overlay that provides a package built with crane, one should use crane.mkLib final, or crane.mkLib prev, or do something else entirely.

Describe alternatives you've considered
I can't think of any alternatives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions