From 41d62fdea86339fb25e1f9a2414fe1e04fd704e1 Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Wed, 28 Sep 2016 13:15:20 +0900 Subject: [PATCH] nixpkgs doc: add installCheck phase --- doc/stdenv.xml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/doc/stdenv.xml b/doc/stdenv.xml index c17d7c51ae2..3da3dd8df96 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -988,6 +988,41 @@ set debug-file-directory ~/.nix-profile/lib/debug +
The installCheck phase + +The installCheck phase checks whether the package was installed +correctly by running its test suite against the installed directories. +The default installCheck calls make +installcheck. + + + Variables controlling the installCheck phase + + + doInstallCheck + If set to a non-empty string, the installCheck phase is + executed, otherwise it is skipped (default). Thus you should set + + doInstallCheck = true; + + in the derivation to enable install checks. + + + + preInstallCheck + Hook executed at the start of the installCheck + phase. + + + + postInstallCheck + Hook executed at the end of the installCheck + phase. + + + + +
The distribution phase