Skip to content

Python: build wheels in separate derivation #170577

@FRidh

Description

@FRidh

Describe the bug

Perform wheel building and wheel installing in two separate derivations.

Additional context

Builds of Python wheels typically have only very few dependencies. When installing the wheel, wrapping needs to be done and propagated build inputs are added to the store resulting in a much larger closure.

By putting the building in a separate derivation, we can avoid rebuilds which is especially interesting for larger builds.

Related issue for tests #26400

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: enhancementAdd something new or improve an existing system.2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: pythonPython is a high-level, general-purpose programming language.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions