nixpkgs/nixos/doc/manual
aszlig 235c2228ca
nixos/test-driver: Add new getScreenText function.
Basically, this creates a screenshot and throws tesseract at it to
recognize the characters from the screenshot. In order to produce a
result that is well enough, we're using lanczos scaling and scale the
image up to 400% of its original size.

This provides the base functionality for a new Machine method which will
be called waitForText. I originally had that idea long ago when writing
the VM tests for VirtualBox and Chromium, but thought it would be
disproportionate to the case.

The downside however is that VM tests now depend on tesseract, but given
the average runtime of our tests it really shouldn't have a too big
impact and it's only a runtime dependency after all.

Another issue is that the OCR process takes quite some time to finish,
but IMHO it's better (as in more deterministic) than to rely on sleep().

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-21 19:55:21 +02:00
..
administration Manual tweak 2015-03-11 15:34:57 +01:00
configuration nixos docs: fix typo 2015-03-07 14:44:13 +01:00
development nixos/test-driver: Add new getScreenText function. 2015-05-21 19:55:21 +02:00
installation Bad name for the NixOS download page 2015-01-04 18:33:30 +01:00
release-notes Merge pull request #7857 from rushmorem/marathon-module-update 2015-05-21 16:52:14 +03:00
default.nix Add Type information into manual and manpages, fixes #4600 2015-01-04 15:41:32 +01:00
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-generate-config.xml
man-nixos-install.xml nixos-install: support -j, --cores and --option. Closes #6755 2015-03-11 16:47:44 +00:00
man-nixos-option.xml
man-nixos-rebuild.xml nixos-rebuild: Add ‘dry-activate’ command 2015-03-09 16:50:59 +01:00
man-pages.xml document options to nixos-install script 2015-01-06 14:49:24 +01:00
manual.xml nixos/manual: Re-add development section. 2015-01-25 20:12:06 +01:00
options-to-docbook.xsl Add Type information into manual and manpages, fixes #4600 2015-01-04 15:41:32 +01:00
README
style.css

To build the manual, you need Nix installed on your system (no need
for NixOS). To install Nix, follow the instructions at

    https://nixos.org/nix/download.html

When you have Nix on your system, in the root directory of the project
(i.e., `nixpkgs`), run:

    nix-build nixos/release.nix -A manual.x86_64-linux

When this command successfully finishes, it will tell you where the
manual got generated.