From 967791f6f3a56cc99875df7942a962cd8df60625 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 19 Jul 2013 15:02:01 +0200 Subject: [PATCH] Add the actual file --- doc/manual/hacking.xml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 doc/manual/hacking.xml diff --git a/doc/manual/hacking.xml b/doc/manual/hacking.xml new file mode 100644 index 00000000..5a5ff9ca --- /dev/null +++ b/doc/manual/hacking.xml @@ -0,0 +1,39 @@ + + +Hacking + +This section provides some notes on how to hack on Hydra. To +get the latest version of Hydra from GitHub: + +$ git clone git://github.com/NixOS/hydra.git +$ cd hydra + + + +To build it and its dependencies: + +$ nix-build release.nix -A build.x86_64-linux + + + +To build all dependencies and start a shell in which all +environment variables (such as PERL5LIB) are set up so +that those dependencies can be found: + +$ ./dev-shell + +To build Hydra, you should then do: + +[nix-shell]$ ./bootstrap +[nix-shell]$ configurePhase +[nix-shell]$ make + +You can run the Hydra web server in your source tree as follows: + +$ ./src/script/hydra-server + + + +