Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Add input and remove targetName #33

Merged
merged 1 commit into from
Oct 15, 2024
Merged

⚡ Add input and remove targetName #33

merged 1 commit into from
Oct 15, 2024

Conversation

abbec
Copy link
Member

@abbec abbec commented Oct 15, 2024

Add input as a parameter to mkPlatform for C. This makes it possible to use a different component target when components are listed as dependencies in other components.

Remove targetName as a parameter sent to the mk* functions in C. targetName is only a string and does not represent the expected information since it can sometimes refer to what is being used from other components and does not reflect any state on the current component. Instead, accept stdenv as a parameter and use that one.

Also fix so that the spliced stdenv is the stdenv actually used.

Add input as a parameter to `mkPlatform` for C. This makes it
possible to use a different component target when components are
listed as dependencies in other components.

Remove `targetName` as a parameter sent to the `mk*` functions in C.
`targetName` is only a string and does not represent the expected
information since it can sometimes refer to what is being used from
other components and does not reflect any state on the current
component. Instead, accept `stdenv` as a parameter and use that one.

Also fix so that the spliced stdenv is the stdenv actually used.
@abbec abbec merged commit 457a911 into main Oct 15, 2024
7 checks passed
@abbec abbec deleted the fix-input-output-c branch October 15, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants