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

2013-07-06 Thread Bjørn Forsman
On 29 June 2013 21:44, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 29 June 2013 11:27, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 29 June 2013 10:54, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 28 June 2013 20:47, Bjørn Forsman bjorn.fors...@gmail.com wrote: Hi, Today I tried

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

2013-06-29 Thread Bjørn Forsman
On 28 June 2013 23:57, Marc Weber marco-owe...@gmx.de wrote: - Is it not possible to have a default version? If you do this you can break the system by updating it. For this reason not having a default is the *only* way to protect against suprises. Ok. - If no default version, is there at

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

2013-06-29 Thread Bjørn Forsman
On 29 June 2013 08:03, Rob Vermaas rob.verm...@gmail.com wrote: Hi Bjorn, - If no default version, is there at least a way to print a *human readable* error message that hints the user about services.postgresql.package? The error you get now is pretty horrible. I have changed the error

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

2013-06-29 Thread Bjørn Forsman
On 28 June 2013 20:47, Bjørn Forsman bjorn.fors...@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;

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

2013-06-29 Thread Bjørn Forsman
On 29 June 2013 10:54, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 28 June 2013 20:47, Bjørn Forsman bjorn.fors...@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

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

2013-06-29 Thread Bjørn Forsman
On 29 June 2013 11:27, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 29 June 2013 10:54, Bjørn Forsman bjorn.fors...@gmail.com wrote: On 28 June 2013 20:47, Bjørn Forsman bjorn.fors...@gmail.com wrote: Hi, Today I tried setting up Apache + MediaWiki, following this guide:

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

2013-06-28 Thread Bjørn Forsman
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 = ad...@example.org;

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

2013-06-28 Thread Marc Weber
- Is it not possible to have a default version? If you do this you can break the system by updating it. For this reason not having a default is the *only* way to protect against suprises. - If no default version, is there at least a way to print a *human readable* error message that hints the