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

lib.types: fix loaOf behavior of long lists and many merges #37734

Closed
wants to merge 1 commit into from

Conversation

rycee
Copy link
Member

@rycee rycee commented Mar 24, 2018

Motivation for this change

Assigning a list of 10 or more elements to an option having the type loaOf a produces a configuration value that is not honoring the order of the original list. This commit fixes this and a related issue arising when 10 or more lists are merged into this type of option.

Things done

Works for me™

@rycee rycee requested review from edolstra and nbp as code owners March 24, 2018 16:54
@rycee
Copy link
Member Author

rycee commented Mar 24, 2018

This issue came to my knowledge by @phryneas in nix-community/home-manager#235.

Assigning a list of 10 or more elements to an option having the type
`loaOf a` produces a configuration value that is not honoring the
order of the original list. This commit fixes this and a related issue
arising when 10 or more lists are merged into this type of option.
@rycee
Copy link
Member Author

rycee commented May 7, 2018

Rebased to master in 08e8701.

@rycee rycee closed this May 7, 2018
@rycee rycee deleted the fix/loaOf-with-long-list branch May 7, 2018 18:28
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

3 participants