diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-06 00:31:16 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-05 23:35:22 -0700 |
commit | bfe2facede727927a91bf19036430844df2f18b9 (patch) | |
tree | f5f1592a94ea00a11327d40a2c9b3cd38b73ab5a /src/libstore/globals.hh | |
parent | e8f1acfb188e53e7e62b79d0e6beab0605640d7f (diff) |
Merge pull request #9443 from ivan770/reproducibility
doc: fix machine-specific capabilities leaking
(cherry picked from commit dda0e34ecf16bb1c736d585414122a7e3587db70)
Change-Id: I3d07cc5039ee954b215a7a27caa3bf7359d92c26
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index e07331d63..9614b612d 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -182,7 +182,9 @@ public: command line switch and defaults to `1`. The value `0` means that the builder should use all available CPU cores in the system. )", - {"build-cores"}, false}; + {"build-cores"}, + // Don't document the machine-specific default value + false}; /** * Read-only mode. Don't copy stuff to the store, don't change @@ -702,7 +704,10 @@ public: Build systems will usually detect the target platform to be the current physical system and therefore produce machine code incompatible with what may be intended in the derivation. You should design your derivation's `builder` accordingly and cross-check the results when using this option against natively-built versions of your derivation. - )", {}, false}; + )", + {}, + // Don't document the machine-specific default value + false}; Setting<StringSet> systemFeatures{ this, @@ -723,7 +728,10 @@ public: `apple-virt` if hardware virtualization is available on macOS, and the pseudo-features `nixos-test`, `benchmark` and `big-parallel` that are used in Nixpkgs to route builds to specific machines. - )", {}, false}; + )", + {}, + // Don't document the machine-specific default value + false}; Setting<Strings> substituters{ this, |