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

[wip] Remove lib functions from all-packages.nix attrs #50776

Closed
wants to merge 4 commits into from

Conversation

matthewbauer
Copy link
Member

Motivation for this change

There are a bunch of these lib functions exposed in all-packages.nix. We should be able to hide them behind a let binding.

### Helper functions.
inherit lib config;

inherit (lib) lowPrio hiPrio appendToName makeOverridable;
Copy link
Contributor

Choose a reason for hiding this comment

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

You cannot remove these from here as it could break out-of-tree code.

Copy link
Member

Choose a reason for hiding this comment

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

Mhm. The problem is that every change in nixpkgs can break out-of-tree code.
The question is, how much breakage would be acceptable.

@matthewbauer matthewbauer changed the title Remove lib functions from all-packages.nix attrs [wip] Remove lib functions from all-packages.nix attrs Nov 24, 2018
@matthewbauer
Copy link
Member Author

yeah - this is definitely still a work in progress.

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.

None yet

4 participants