refactor: default host and target platforms based on build #20
No reviewers
Labels
No labels
Compat
Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: auxolotl/labs#20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "vlinkz/labs:vlinkz/defaultplatforms"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Following up on #15, this PR defaults
hostto@buildandtargetto@host.For regular packages, this means they only need to specify a
which signifies support for all native linux and cross compiling from
*-linuxto*-linux.5d5596139dto908efdf980@ -708,1 +710,3 @@initial = builtins.head config.platforms;initial =ifbuiltins.any (I don't think we should special case x86_64 here. We can just let the default be any one of the platform combinations.
@ -324,11 +324,13 @@ inhost = lib.options.create {description = "The host platform for the package.";type = lib.types.string;default.value = "@build";Thoughts on also adding the default "@all" for the build platform?
Added
@all, although maybe@linuxmight make more sense (at least for now)?908efdf980to0a347e7ed10a347e7ed1tob17d3ca06fb17d3ca06ftoab85ed8550