Skip to content
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

Fix evaluation and build of manual with latest nixpkgs master #407

Closed
wants to merge 1 commit into from

Conversation

aszlig
Copy link
Member

@aszlig aszlig commented Mar 1, 2016

First of all, optionAttrSetToDocList now has an additional argument for specifying the internal _module attributes. Unfortunately, toXML silently ignores function calls so we don't get an error at this point.

In addition to this, we now have to specify type representations if we create a new option type with mkOptionType, so let's add those to the NixOps specific option types.

Both of these issues are caused by NixOS/nixpkgs@cad8957.

I'm not merging this right now, because it breaks backwards-compatibility with release 15.09 and possibly also with 16.03.

Cc: @edolstra, @rbvermaa

First of all, optionAttrSetToDocList now has an additional argument for
specifying the internal _module attributes. Unfortunately, toXML
silently ignores function calls so we don't get an error at this point.

In addition to this, we now have to specify type representations if we
create a new option type with mkOptionType, so let's add those to the
NixOps specific option types.

Both of these issues are caused by NixOS/nixpkgs@cad8957.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
@aszlig aszlig added the bug label Mar 1, 2016
aszlig added a commit to openlab-aux/vuizvui that referenced this pull request Mar 1, 2016
Actually, it's the latest upstream master plus one pull request by me
(NixOS/nixops#407), which fixes the build of the manual.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
aszlig added a commit to openlab-aux/vuizvui that referenced this pull request Mar 2, 2016
The patch was introduced because there was a breaking nixpkgs commit at
NixOS/nixpkgs@cad8957, which later got reverted (NixOS/nixpkgs@f3d94cf),
so we no longer need this patch.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
@domenkozar
Copy link
Member

Note: this belongs together when NixOS/nixpkgs#13607 is merged.

@danbst
Copy link
Contributor

danbst commented Aug 27, 2016

The fix of manual generation was quite opposite - NixOS/nixpkgs@f3d94cf

@AmineChikhaoui
Copy link
Member

Probably this is irrelevant now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants