Skip to content

Get rid of crossAttrs #33302

@Ericson2314

Description

@Ericson2314

It is a needless abstraction. Just use stdenv.lib.optionalAttrs (stdenv.hostPlatform != buildPlatform) { .. }, or more ideally condition on the individual fields.

CC @bgamari

Metadata

Metadata

Assignees

Labels

6.topic: cross-compilationBuilding packages on a different platform than they will be used on

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions