Hydra/ja: Difference between revisions
Updating to match new version of source page |
Updating to match new version of source page |
||
| Line 9: | Line 9: | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||
The official Hydra servers provide pre-built binary packages to speed up the update time for | The official Hydra servers provide pre-built binary packages to speed up the update time for Nixpkgs: Users do not have to compile them on their own computers. | ||
</div> | </div> | ||
| Line 24: | Line 24: | ||
</div> | </div> | ||
< | <syntaxhighlight lang="nix"> | ||
services.hydra = { | services.hydra = { | ||
enable = true; | enable = true; | ||
| Line 31: | Line 31: | ||
# a standalone Hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines | # a standalone Hydra will require you to unset the buildMachinesFiles list to avoid using a nonexistant /etc/nix/machines | ||
buildMachinesFiles = []; | buildMachinesFiles = []; | ||
# you will probably also want, otherwise *everything* will be built from scratch | # you will probably also want this, otherwise *everything* will be built from scratch | ||
useSubstitutes = true; | useSubstitutes = true; | ||
}; | }; | ||
</ | </syntaxhighlight> | ||
<div lang="en" dir="ltr" class="mw-content-ltr"> | <div lang="en" dir="ltr" class="mw-content-ltr"> | ||