-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
WIP: Displaying package parameters #78
Conversation
Very nice! |
else | ||
[] | ||
else if lib.isList x then | ||
[] # map (mapRecursively "${n}.list") x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should raise an error, or actually recurse over it.
This uses a heuristic to only include non-package arguments Also, there seems not to be enough laziness to look into all the derivations; so quite some assertions fail Furthermore, this needs a forked nixpkgs
…to nix (a patched version is needed, see https://github.com/fkz/nix/tree/catch-throw)
namely: - also allow override in callPackagesWith (which doesn't use makeOverridable) - support makeOverridable in the functor case - also build 16.03 channel (not displaying yet) - better error message when parameters couldn't be determined
… parameter only hides it), 15.09 and 16.03 package sets are both displayed
[triage] Is this still a relevant feature to be developed for the website? The channel selection would be reimplemented in #209, the part about the package parameter isn't, but probably could be ported. If the feature is desired, but the codebase in need for a rewrite, an issue for the feature request could be opened instead. |
closing this due to inactivity, but if needed please reopen it. |
See also http://thread.gmane.org/gmane.linux.distributions.nixos/19714
Demo: http://schmitthenner.eu/nixos-homepage/nixos/packages.html
Not yet ready for review but I wanted to start collecting a TODO list at a central place.
TODO for being able to publish
use allow-unsafe-native-code-during-evaluation instead of patching nix (so we don't have to recompile nix)not possible because we added comment (docstring) parsing to the parser of nix nowOther nice additions
vim_configurable
that usescomposableDerivation
.nixpkgs/config.nix