On 28 June 2013 20:47, Bjørn Forsman <[email protected]> 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 = "[email protected]"; > 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 _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
