-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use of meta.tests causes evaluation errors #50230
Comments
This is weird since @Ekleog did add the |
My guess is a derivations' meta can't contain derivations, but I'm not sure. I think this may be true because it raises this question: when evaluating and querying meta fields about a package (which is possible,) should the derivations be built or not? Yes, for consistency it should, but running a bunch of tests when querying packages doesn't make sense. |
@timokau It appears to be also checked a second time in This means either we need to change |
Probably should just use passthru. |
OK, I'll include the switch to |
Nix currently rejects derivations in `meta` values. This works around that limitation by using `passthru` instead. Closes NixOS#50230
This should be fixed in #50233 |
Checking this in |
Feel free to react to NixOS/nix#2532, which I opened as the issue seen from the nix point of view :) |
#44439 adds
meta.tests
todovecot
, but that attribute is not supported by Nix and causes evaluation errors, i.e.:This output breaks several scripts of mine (for updating the Haskell package set) and I would kindly request to make those warnings disappear one way or another.
Ping: @Ekleog, @timokau
The text was updated successfully, but these errors were encountered: