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:
- 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.
- 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.
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
allowUnfreeis turned on, so we start getting errors as soon as you start searching for the package.I have a couple of suggestions:
search_packagesand just return the package names that we find with an install type of "Either" which is effectively the behavior we had until relatively recently.build_checkwe capture it nicely and offer to install it via a "managed edit" using the managed-edit reusable code I added recently for Homebrew.