Skip to content

jujutsu: add extraConfig attribute to allow more complex config #7099

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

Open
just1602 opened this issue May 20, 2025 · 2 comments
Open

jujutsu: add extraConfig attribute to allow more complex config #7099

just1602 opened this issue May 20, 2025 · 2 comments
Assignees

Comments

@just1602
Copy link

Description

Hello,

I try to configure jujutsu templates using the settings attribute, but since tomlFormat.generate doesn't convert nix multilines string '' to toml multilines string """, I was wondering if it would be possible to add an extraConfig attribute to the jujutsu module so one could configure more complex attributes like templates using the module?

If I'm just missing something, and there's a way to do that without addind a new attribute, that would be even better :)

@teto
Copy link
Collaborator

teto commented May 21, 2025

that would be possible but the root issue seems to be

tomlFormat.generate doesn't convert nix multilines string '' to toml multilines string """

better fix that no ? which exists in nixpkgs repo.

@just1602
Copy link
Author

Oh yeah, I'll try to check in nixpkgs for this function then! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants