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

docs: clarify how to use inputs with flakes #689

Merged
merged 1 commit into from
Jun 20, 2023
Merged

docs: clarify how to use inputs with flakes #689

merged 1 commit into from
Jun 20, 2023

Conversation

cherryblossom000
Copy link
Contributor

@cherryblossom000 cherryblossom000 commented Jun 12, 2023

I was pretty confused on how to use inputs, and thanks to the help of some people on #macos:nixos.org I was able to get my configuration working using specialArgs.

This PR updates the readme to better document how to use inputs when using nix-darwin with flakes. It also documents how specialArgs could be used to also access things from configuration.nix.

This commit clarifies that in order to access `inputs` in a host configuration, the `inputs` argument must be used. This commit also documents how `specialArgs` can be used to access the inputs as arguments directly.
Copy link
Owner

@LnL7 LnL7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@LnL7 LnL7 merged commit 1eab97f into LnL7:master Jun 20, 2023
6 checks passed
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.

3 participants