1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/nixos/doc/manual
aszlig 8be00dc71d
nixos/test-driver: Make tesseract OCR optional.
By default this is now enabled, and it has to be explicitely enabled
using "enableOCR = true". If it is set to false, any usage of
getScreenText or waitForText will fail with an error suggesting to pass
enableOCR.

This should get rid of the rather large dependency on tesseract which
we don't need for most tests.

Note, that I'm using system("type -P") here to check whether tesseract
is in PATH. I know it's a bashism but we already have other bashisms
within the test scripts and we also run it with bash, so IMHO it's not a
problem here.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-05-22 07:21:58 +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: Make tesseract OCR optional. 2015-05-22 07:21:58 +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 Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
man-nixos-build-vms.xml Move all of NixOS to nixos/ in preparation of the repository merge 2013-10-10 13:28:20 +02:00
man-nixos-generate-config.xml nixos-generate-config: Add --show-hardware-config. 2013-10-23 17:16:17 +02:00
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 nixos-option: fixes as suggested by @nbp 2014-09-06 20:59:14 +02:00
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 nixos/doc/manual: Fix typos in README. 2014-07-23 15:00:25 +02:00
style.css Manual: Chunk into separate pages 2014-08-25 19:08:31 +02:00

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.