Skip to content

lib/generators/toKeyValue: add indent parameter#244819

Merged
ncfavier merged 1 commit intoNixOS:masterfrom
ncfavier:toKeyValue-indent
Jul 25, 2023
Merged

lib/generators/toKeyValue: add indent parameter#244819
ncfavier merged 1 commit intoNixOS:masterfrom
ncfavier:toKeyValue-indent

Conversation

@ncfavier
Copy link
Copy Markdown
Member

toKeyValue is generic enough that it is sometimes used as part of other format generators, where it might be useful to specify the indentation level.

Context: nix-community/home-manager#4263 (comment)

toKeyValue is generic enough that it is sometimes used as part of other
format generators, where it might be useful to specify the indentation
level.
@ncfavier ncfavier requested a review from infinisil July 22, 2023 11:51
@github-actions github-actions bot added the 6.topic: lib The Nixpkgs function library label Jul 22, 2023
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 22, 2023
@ncfavier ncfavier merged commit b97ac82 into NixOS:master Jul 25, 2023
@ncfavier ncfavier deleted the toKeyValue-indent branch July 25, 2023 16:57
ncfavier added a commit to ncfavier/home-manager that referenced this pull request Jul 25, 2023
ncfavier added a commit to nix-community/home-manager that referenced this pull request Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: lib The Nixpkgs function library 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant