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

remove use of meta = with lib; #292

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

Conversation

eclairevoyant
Copy link

@eclairevoyant eclairevoyant commented Oct 1, 2023

Motivating discussion: NixOS/nixpkgs#208242

Additional context: NixOS/nixpkgs#292468, NixOS/nixpkgs#293767

Fixes #414.

Copy link

@Gerg-L Gerg-L left a comment

Choose a reason for hiding this comment

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

LGTM!

@eclairevoyant
Copy link
Author

@figsoda any feedback on this?

@figsoda
Copy link
Member

figsoda commented Mar 5, 2024

Sorry that I forgot about this for so long. Is there a consensus on this? If not maybe I can create a poll or something like that

@Gerg-L
Copy link

Gerg-L commented Mar 5, 2024

In my experience it gets constantly nitpicked in nixpkgs,
and the main argument for it is the removal of boilerplate which is irrelevant with an automatic tool

@mweinelt
Copy link
Member

mweinelt commented Mar 11, 2024

No, there is no consensus on removing it from meta. The same people are constantly pushing for it and steamrolling maintainers, and in the latest case my review concerns were heard, but ultimately ignored.

@eclairevoyant eclairevoyant changed the title remove uses of with lib; (see NixOS/nixpkgs#208242) remove uses of with lib; Mar 11, 2024
@eclairevoyant

This comment was marked as outdated.

@eclairevoyant eclairevoyant changed the title remove uses of with lib; remove use of meta = with lib; Mar 11, 2024
@eclairevoyant
Copy link
Author

eclairevoyant commented Mar 27, 2024

NB as mentioned in NixOS/nixpkgs#292468 (comment), meta = with lib; has shown itself to be a footgun as well.

(TLDR version is available from both lib and the derivation.)

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.

Nixpkgs style
4 participants