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

convenience features: mixin modules + pkgs arg #1060

Merged
merged 3 commits into from
Oct 7, 2024
Merged

convenience features: mixin modules + pkgs arg #1060

merged 3 commits into from
Oct 7, 2024

Conversation

DavHau
Copy link
Member

@DavHau DavHau commented Oct 7, 2024

  • add new module mkDerivation-mixin:
  • add module buildPythonPackage-mixin
  • add module arg pkgs

Like mkDerivation, but has all options at the toplevel for improved usability.
Like buildPythonPackage, but has all options at the toplevel for improved usability.
This change adds a `pkgs` arguments to the module args.

Accessing packages from nixpkgs becomes easier as the user is not forced to go through `config.deps` anymore.

`config.deps` can still be used to override packages from `pkgs`.
@mergify mergify bot merged commit 6348082 into main Oct 7, 2024
6 checks passed
@mergify mergify bot deleted the dave branch October 7, 2024 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant