diff options
author | Valentin Gagarin <valentin.gagarin@tweag.io> | 2023-06-22 13:50:00 +0200 |
---|---|---|
committer | Valentin Gagarin <valentin.gagarin@tweag.io> | 2023-07-19 10:37:40 +0200 |
commit | 32de11923e932b5bbda8ce4877542fb299de9b03 (patch) | |
tree | 1fe249e26f5613f9399f47207344757ad6a9a1bb /src | |
parent | 4944e37ec04cc8c62f35aa9b1f4e97ee8f233eb8 (diff) |
add cross-links
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/globals.hh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 442d72911..760655302 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -197,10 +197,7 @@ public: Nix will only build [derivations](@docroot@/language/derivations.md) whose `system` attribute equals the value specified here. The default value is set when Nix itself is compiled for the system it will run on. - In general, it never makes sense to modify this value. - While you can force Nix to run a Darwin-specific `builder` executable on a Linux machine, the result would obviously be wrong. - - The following system types are widely used, as Nix is actively supported on these platforms: + The following system types are widely used, as [Nix is actively supported on these platforms](@docroot@/contributing/hacking.md#platforms): - `x86_64-linux` - `x86_64-darwin` @@ -210,6 +207,10 @@ public: - `armv6l-linux` - `armv7l-linux` + In general, it never makes sense to modify this value when building derivations. + While you can force Nix to run a Darwin-specific `builder` executable on a Linux machine, the result would obviously be wrong. + + This value is available in the Nix language as [`builtins.currentSystem`](@docroot@/language/builtin-constants.md#builtins-currentSystem). )"}; Setting<time_t> maxSilentTime{ |