Skip to content

BUG: unfree battery broken for Home Manager packages #150

@OscarMarshall

Description

@OscarMarshall

The den._.unfree battery is broken under Home Manager. Here's my repro.

It fails with the message:

error: The option `home-manager.users.tux.unfree.packages' in `/nix/store/b79a4h16k59h5hxq696xfsvspk4av19g-source/modules/aspects/provides/unfree/unfree-predicate-builder.nix, via option den.default.includes."[definition 1-entry 1]".<function body>.includes."[definition 1-entry 1]".homeManager' is already declared in `/nix/store/b79a4h16k59h5hxq696xfsvspk4av19g-source/modules/aspects/provides/unfree/unfree-predicate-builder.nix, via option den.default.includes."[definition 1-entry 1]".<function body>.includes."[definition 1-entry 1]".homeManager'.

I noticed this bug is only present in the newest commit: fix(hm): parametric aspects at user.includes are accounted now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions