diff options
author | Robert Hensing | 2022-09-28 10:27:45 +0100 |
---|---|---|
committer | GitHub | 2022-09-28 10:27:45 +0100 |
commit | 7f0d934f9aa50d69336aec32fc90dada6d2d4459 (patch) | |
tree | 136f2150fdf25d2769d2bb50ea5a80891bd224d5 /doc | |
parent | 46e8398474ac3b1b7bb198bf9097fc213bbf59b1 (diff) | |
parent | 3ce4179374352b1407b1800cb97c1e08a07db4ca (diff) |
Merge pull request #191540 from hercules-ci/nixosTest-modular
nixosTest: make modular
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stdenv/meta.chapter.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/stdenv/meta.chapter.md b/doc/stdenv/meta.chapter.md index 51ad29b4b16e..a83aa0bd90f8 100644 --- a/doc/stdenv/meta.chapter.md +++ b/doc/stdenv/meta.chapter.md @@ -213,6 +213,10 @@ runCommand "my-package-test" { A timeout (in seconds) for building the derivation. If the derivation takes longer than this time to build, it can fail due to breaking the timeout. However, all computers do not have the same computing power, hence some builders may decide to apply a multiplicative factor to this value. When filling this value in, try to keep it approximately consistent with other values already present in `nixpkgs`. +`meta` attributes are not stored in the instantiated derivation. +Therefore, this setting may be lost when the package is used as a dependency. +To be effective, it must be presented directly to an evaluation process that handles the `meta.timeout` attribute. + ### `hydraPlatforms` {#var-meta-hydraPlatforms} The list of Nix platform types for which the Hydra instance at `hydra.nixos.org` will build the package. (Hydra is the Nix-based continuous build system.) It defaults to the value of `meta.platforms`. Thus, the only reason to set `meta.hydraPlatforms` is if you want `hydra.nixos.org` to build the package on a subset of `meta.platforms`, or not at all, e.g. |