[Nix-dev] Re: How do parallel builds scale?

Marc Weber marco-oweber at gmx.de
Fri Mar 4 02:06:53 CET 2011


If you need more speed you could run the check phase separately

Example:

  foo would refer to the build
  foo.checked would refer to the checked version which depends on all
      map (x: x.checked) (foo.buildInputs foo.propagatedBuildInputs)

  Final consumers (nixos rebuild or user envs) should depend on the
  .checked versions then.

Then depending packages can start building while check phases are still
run..

Probably there are not enough check phases justifying the effort yet.

Marc Weber



More information about the nix-dev mailing list