Skip to content

buildRustPackage: reimplement as hooks #112438

@FRidh

Description

@FRidh

To support polyglot packages, it is important that all languages/frameworks are supported through hooks instead of language/framework-specific builders that do not compose.

buildPythonPackage is essentially just a list of hooks. Same nowadays for Qt's mkDerivation.

This is important if we want to cleanly support maturin/setuptools-rust in Nixpkgs #83614.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: bugSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: rustGeneral-purpose programming language emphasizing performance, type safety, and concurrency.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions