Skip to content

Need better allowUnfree behavior #174

@linear-code

Description

@linear-code

If you try to add an "unfree" package, we will most likely time out the evolution. It appears that nix won't even show a derivation of an unfree package unless allowUnfree is turned on, so we start getting errors as soon as you start searching for the package.

I have a couple of suggestions:

  1. We ignore this error in search_packages and just return the package names that we find with an install type of "Either" which is effectively the behavior we had until relatively recently.
  2. If/when we get an "unfree" error in build_check we capture it nicely and offer to install it via a "managed edit" using the managed-edit reusable code I added recently for Homebrew.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions