Skip to content

docs/hacking: add notes about listOf default priority #885

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

horriblename
Copy link
Collaborator

I finished writing this before realizing I should have checked how listOf is
used in other codebases first.

I did a search for listOf in nixpkgs codebase, and none of the results on
the first page make use of listOf in a way that the default values should be
extended. (in fact, almost all of them set default = [])

With that in mind, I'm not sure if what I wrote in this PR is good practice or
just a hack that would just makes things more complicated down the line

github-actions bot pushed a commit that referenced this pull request May 5, 2025
Copy link

github-actions bot commented May 5, 2025

🚀 Live preview deployed from f07468e

View it here:

Debug Information

Triggered by: NotAShelf

HEAD at: docs-priority

Reruns: 810

github-actions bot pushed a commit that referenced this pull request May 6, 2025
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