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 how to reference custom packages in modules. #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hoschi-it
Copy link

The finger-point on how to install a custom package inside a module was missing previously.

Thanks for all the fish!

@@ -41,4 +41,4 @@ stdenv.mkDerivation {
```

This package will be made available on your flake's `packages` output with the same name as the
directory that you created.
directory that you created (i.e. `packages.my-package`). Also, from inside a module you can reference it via `pkgs.${namespace}` (i.e. `pkgs.plusultra.my-package`).
Copy link
Member

Choose a reason for hiding this comment

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

I think we can probably reword this to mention how this is done as a part of overlays which are why system configuration receives these packages as a namespaced collection on pkgs.

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