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 wrote: > On 29 June 2013 11:27, Bjørn Forsman wrote: >> On 29 June 2013 10:54, Bjørn Forsman wrote: >>> On 28 June 2013 20:47, Bjørn Forsman wrote: Hi, Today I tried setting up Apache + MediaWiki, following this guide: http://nixos.o

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 wrote: > On 29 June 2013 10:54, Bjørn Forsman wrote: >> On 28 June 2013 20:47, Bjørn Forsman wrote: >>> Hi, >>> >>> Today I tried setting up Apache + MediaWiki, following this guide: >>> >>> http://nixos.org/wiki/Setting_up_MediaWiki_%26_vhosts >>> >>> It say

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 wrote: > On 28 June 2013 20:47, Bjørn Forsman 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: >> >> service

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 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 = tr

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 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 message, if you

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 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 least a way to p

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

2013-06-28 Thread Rob Vermaas
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 message, if you have the latest nixpkgs, you would now see: error

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 th

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

2013-06-28 Thread Bjørn Forsman
On 28 June 2013 20:47, Bjørn Forsman 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 = tr