Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

How do I add extra packages through extraPackages? #13

Closed Answered by shanesveller
ex-nix asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there! There is no default source of packages that is automatically in scope, syntactically speaking, so you would need to provide that context in your own flake definition. This can be done via the surrounding syntax constructs, such as function arguments or a let-binding, for example.

You can see more information about the available arguments that flake-parts provides here. I could potentially be more explicit in the README about this, but some amount of practical familiarity with flake-parts will be necessary to be successful with this library, and would potentially benefit your other Nix use anyway.

Adapting the example flake to your question here, you can use the flake-parts perSy…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ex-nix
Comment options

Answer selected by ex-nix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #12 on September 04, 2023 20:52.