[Nix-dev] instructions for setting up apache + mediawiki is broken

Bjørn Forsman bjorn.forsman at gmail.com
Sat Jun 29 10:54:43 CEST 2013


On 28 June 2013 20:47, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> Hi,
>
> Today I tried setting up Apache + MediaWiki, following this guide:
>
> http://nixos.org/wiki/Setting_up_MediaWiki_%26_vhosts
>
> It says I should add this to configuration.nix:
>
> services.postgresql.enable = true;
> services.httpd.enable = true;
> services.httpd.adminAddr = "admin at example.org";
> services.httpd.extraSubservices =
>   [ { serviceType = "mediawiki";
>       siteName = "My Wiki";
>       logo = "http://www.example.org/wiki-logo.png"; # should be 135x135px
>       extraConfig =
>         ''
>           # See http://www.mediawiki.org/wiki/Manual:Configuration_settings
>           $wgEmailConfirmToEdit = true;
>         '';
>     }
>   ];
>
> But when I nixos-rebuild it fails pretty bad. The build log is below.
>
> I tried to comment out the httpd config stuff and then I see that
> having just "services.prostgresql.enable = true;" fails pretty badly
> too.

I've added "services.postgresql.package = pkgs.postgresql92;" to the wiki.

http://nixos.org/wiki/Setting_up_MediaWiki_%26_vhosts


More information about the nix-dev mailing list