Skip to content

Better package option helpers  #2004

Closed
Closed
@MattSturgeon

Description

@MattSturgeon

I'd like to achieve two things here:

The first point should be achieved by providing the helper with a "pkgs path" that can be used with getAttrByPath and also concatStringsSep "." to provide default and defaultText respectively.

I'm not sure about the second point. Maybe we'd need a different type that is lazier, although this may break things like mkIf.

Or maybe we can do something like either package (functionTo package) and provide a lazy function that returns the package as the default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    tech debtRelated to technical debt and/or refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions