You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/libstore/include/nix/store/globals.hh
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ public:
77
77
78
78
Settings();
79
79
80
-
unsignedintgetDefaultCores()const;
80
+
staticunsignedintgetDefaultCores();
81
81
82
82
Path nixPrefix;
83
83
@@ -427,7 +427,7 @@ public:
427
427
R"(
428
428
If set to `true`, Nix instructs [remote build machines](#conf-builders) to use their own [`substituters`](#conf-substituters) if available.
429
429
430
-
It means that remote build hosts fetches as many dependencies as possible from their own substituters (e.g, from `cache.nixos.org`) instead of waiting for the local machine to upload them all.
430
+
It means that remote build hosts fetch as many dependencies as possible from their own substituters (e.g, from `cache.nixos.org`) instead of waiting for the local machine to upload them all.
431
431
This can drastically reduce build times if the network connection between the local machine and the remote build host is slow.
432
432
)"};
433
433
@@ -503,7 +503,7 @@ public:
503
503
by the Nix account, its group should be the group specified here,
504
504
and its mode should be `1775`.
505
505
506
-
If the build users group is empty, builds areperformed under
506
+
If the build users group is empty, builds are performed under
507
507
the uid of the Nix process (that is, the uid of the caller if
508
508
`NIX_REMOTE` is empty, the uid under which the Nix daemon runs if
509
509
`NIX_REMOTE` is `daemon`). Obviously, this should not be used
@@ -847,8 +847,8 @@ public:
847
847
4. The path to the build's scratch directory. This directory
848
848
exists only if the build was run with `--keep-failed`.
849
849
850
-
The stderr and stdout output from the diff hook isn't
851
-
displayed to the user. Instead, it print to the nix-daemon's log.
850
+
The stderr and stdout output from the diff hook isn't displayed
851
+
to the user. Instead, it prints to the nix-daemon's log.
852
852
853
853
When using the Nix daemon, `diff-hook` must be set in the `nix.conf`
854
854
configuration file, and cannot be passed at the command line.
0 commit comments