Distributed build: Difference between revisions

imported>Mohe2015
m Fix spelling mistake in option
imported>Yvan-sraka
m Fix warning: 'ping-store' is a deprecated alias for 'store ping' error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override
Line 45: Line 45:


When you are done, you can test your setup like this:
When you are done, you can test your setup like this:
{{Commands|<nowiki>$ nix ping-store --store ssh://builder && echo ok</nowiki>}}
{{Commands|<nowiki>$ nix store ping --store ssh://builder --extra-experimental-features nix-command && echo ok</nowiki>}}


If you get an error like <code>serialised integer ... is too big for type j</code> this means that something (for example <code>/etc/profile</code> or <code>environment.shellInit</code>) outputs bytes to <code>stdout</code> before launching the command specified on the ssh
If you get an error like <code>serialised integer ... is too big for type j</code> this means that something (for example <code>/etc/profile</code> or <code>environment.shellInit</code>) outputs bytes to <code>stdout</code> before launching the command specified on the ssh