-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
packages output supposed to only contain derivations #60
Comments
In a similar vein, I was also a bit surprised to find (it took me literally 1/2 hour to figure that out) EDIT: nvm, I now am surprised what |
I also frequently use |
I haven't found a good way to fix the |
I opened #87 to try to fix this issue. It doesn't restructure the outputs but it does pass |
This can be closed, I think.
works. |
When you run
nix flake check
it complains thatflake attribute 'packages.i686-linux.default' is not a derivation
Same with
nix flake show
:At this moment
packages.<system>
is supposed to be an attrset of derivations, it can't contain functions, nested attrsets, etc.For the functionality of the above there is
legacyPackages
attribute, which nixpkgs uses, so can just switch to it.Note: flakes are unstable, and their outputs aren't very though-out.
The text was updated successfully, but these errors were encountered: