Skip to content

Fix string list handling in custom configuration#121

Merged
lucperkins merged 1 commit intomainfrom
fix-string-list-handling
Aug 28, 2025
Merged

Fix string list handling in custom configuration#121
lucperkins merged 1 commit intomainfrom
fix-string-list-handling

Conversation

@lucperkins
Copy link
Member

@lucperkins lucperkins commented Aug 28, 2025

Currently, the custom config builder converts Nix lists to JSON, which means that the list ["foo" "bar"] becomes ["foo", "bar"], which isn't valid Nix configuration. This PR fixes that to produce the expected foo bar. In my personal configuration I've verified that this works as expected.

https://github.com/the-nix-way/nome/blob/main/flake.nix#L7
https://github.com/the-nix-way/nome/blob/main/nix-darwin/base/default.nix#L58

@lucperkins lucperkins merged commit 07793fb into main Aug 28, 2025
9 checks passed
@lucperkins lucperkins deleted the fix-string-list-handling branch August 28, 2025 14:50
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