From 2eea92a1dc124e24744d57f53d9dbe10e85876e1 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Sat, 1 Sep 2018 15:20:57 -0400 Subject: nixpkgs docs: give linked things IDs --- doc/stdenv.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/stdenv.xml') diff --git a/doc/stdenv.xml b/doc/stdenv.xml index f751cfa5b410..7a0f8f270bad 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -212,7 +212,7 @@ genericBuild platforms relative to the new derivation's, and whether they are propagated. The platform distinctions are motivated by cross compilation; see for exactly what each platform means. - + The build platform is ignored because it is a mere implementation detail of the package satisfying the dependency: As a general programming @@ -233,7 +233,7 @@ genericBuild out only for dependencies whose host platform matches the new derivation's build platform–i.e. which run on the platform where the new derivation will be built. - + Currently, that means for native builds all dependencies are put on the PATH. But in the future that may not be the case for sake @@ -280,7 +280,7 @@ genericBuild Natural Deduction using the inference rules. This probably seems a bit obtuse, but so is the bash code that actually implements it! - + The findInputs function, currently residing in pkgs/stdenv/generic/setup.sh, implements the @@ -1112,7 +1112,7 @@ passthru = { By default, the configure phase applies some special hackery to all files called ltmain.sh before running the configure script in order to improve the purity of Libtool-based packages - + It clears the sys_lib_*search_path @@ -1151,7 +1151,7 @@ passthru = { or a subset to control exactly which platform flags are passed. Compilers and other tools should use this to also pass the target platform, for example. - + Eventually these will be passed when in native builds too, to improve determinism: build-time guessing, as is done today, is a risk of @@ -1732,7 +1732,7 @@ set debug-file-directory ~/.nix-profile/lib/debug Controls whether the installCheck phase is executed. By default it is skipped, but if doInstallCheck is set to true, the installCheck phase is usually executed. Thus you should set - doInstallCheck = true; +doInstallCheck = true; in the derivation to enable install checks. The exception is cross compilation. Cross compiled builds never run tests, no matter how doInstallCheck is set, as the newly-built program @@ -2213,7 +2213,7 @@ addEnvHooks "$hostOffset" myBashFunction clang is to be used. Secondly, this helps packages not get confused when cross-compiling, in which case multiple Bintools Wrappers may simultaneously be in use. - + Each wrapper targets a single platform, so if binaries for multiple platforms are needed, the underlying binaries must be wrapped multiple -- cgit 1.4.1