aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/globals.hh
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-05-31 03:21:11 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2023-07-19 10:37:40 +0200
commit0751c1bfc6375ffbe94e90cfcfdb987e8b286f2e (patch)
tree9e7518060eb2acc0a46d8eb26da36e36a30794fd /src/libstore/globals.hh
parent68b7bb1a062c6471b678d5488a71324e0486d405 (diff)
one line per sentence for easier review
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r--src/libstore/globals.hh18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh
index d4b8fb1f9..76afeb5f5 100644
--- a/src/libstore/globals.hh
+++ b/src/libstore/globals.hh
@@ -193,18 +193,12 @@ public:
Setting<std::string> thisSystem{
this, SYSTEM, "system",
R"(
- This option specifies the canonical Nix system name of the current
- installation, such as `i686-linux` or `x86_64-darwin`. Nix can only
- build derivations whose `system` attribute equals the value
- specified here. In general, it never makes sense to modify this
- value from its default, since you can use it to ‘lie’ about the
- platform you are building on (e.g., perform a Mac OS build on a
- Linux machine; the result would obviously be wrong). It only makes
- sense if the Nix binaries can run on multiple platforms, e.g.,
- ‘universal binaries’ that run on `x86_64-linux` and `i686-linux`.
-
- It defaults to the canonical Nix system name detected by `configure`
- at build time.
+ This option specifies the canonical Nix system name of the current installation, such as `i686-linux` or `x86_64-darwin`.
+ Nix can only build derivations whose `system` attribute equals the value specified here.
+ In general, it never makes sense to modify this value from its default, since you can use it to ‘lie’ about the platform you are building on (e.g., perform a Mac OS build on a Linux machine; the result would obviously be wrong).
+ It only makes sense if the Nix binaries can run on multiple platforms, e.g., ‘universal binaries’ that run on `x86_64-linux` and `i686-linux`.
+
+ It defaults to the canonical Nix system name detected by `configure` at build time.
)"};
Setting<time_t> maxSilentTime{