Skip to content

Refusing to load formula from untrusted tap #1794

@fenhl

Description

@fenhl

Seems like Homebrew taps need additional configuration now; this error happens on rebuild when a formula/cask from a tap is included in the system config:

{
    homebrew.brews = [
        {
            name = "OoTRandomizer/tap/n64";
            args = [ "head" ];
        }
    ];
}
Error: Refusing to load formula ootrandomizer/tap/n64 from untrusted tap ootrandomizer/tap.
Run `brew trust --formula ootrandomizer/tap/n64` or `brew trust ootrandomizer/tap` to trust it.

A similar error also occurs with casks.

I tried specifying homebrew.taps = [ "OoTRandomizer/tap" ] but that didn't fix the error.

The brew trust command does fix the error, but a declarative fix would be better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions