[Nix-dev] Installing hydra
Eelco Dolstra
e.dolstra at tudelft.nl
Wed Sep 21 14:58:51 CEST 2011
Hi,
On 09/21/2011 02:35 PM, maggesi at math.unifi.it wrote:
> I'm trying to install hydra on my machine following these instructions
> http://hydra.nixos.org/job/hydra/trunk/tarball/latest/download-by-type/doc-pdf/manual
>
> When I launch the server and I connect to http://localhost:3000 i get
> a page with the following error:
>
> DBIx::Class::ResultSet::count(): DBI Connection failed: DBI
> connect('dbname=hydra;host=localhost;','',...) failed: fe_sendauth: no
> password supplied at
> /nix/store/8f5i7znjg0jqhzskarij0bqv9x1x6va9-perl-DBIx-Class-0.08195/lib/perl5/site_perl/5.10.1/DBIx/Class/Storage/DBI.pm line 1248 at /nix/store/jap22447dvbvsa8c22jf9mm330mmgdf9-hydra-0.1pre29302/libexec/hydra/lib/Hydra/Controller/Root.pm line
> 24
Are you using PostgreSQL or SQLite? If you're using PostgreSQL, put your
password in ~/.pgpass (something like "servername:*:hydra:hydra:<password>").
> BTW: I find somehow surprising that there is no easy mechanism for
> installing hydra on nixos (something like config.services.hydra.enable
> = true + nixos-rebuild switch).
This may be what you want:
https://svn.nixos.org/repos/nix/configurations/trunk/tud/hydra-module.nix
--
Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/
More information about the nix-dev
mailing list