Skip to content

Enforce validation of the configuration #66

Description

@xaltsc

I made the mistake of setting upstreams = [ { publicKey = "..."; ...} ...]; instead of public_key. Of course, this does not generate any TOML error, but it doesn't add the keys to nix.settings.

It would be nice if upstreams could be a listOf of submodules with defined attributes, so that such an error is catched at build time; especially since this does not conform to the usual camelCase nix naming of things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions