Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: db0abe98bfa7
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5835b2796e24
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Nov 16, 2018

  1. nixos/nix-daemon: default to build with all cores available

    These days build systems are more robust w.r.t. to concurrency.
    Most users will have at least two cores in their machines.
    Therefore I suggest to increase the number of cores used for building.
    
    fixes #50376
    Mic92 committed Nov 16, 2018
    Copy the full SHA
    ced57f7 View commit details
  2. Merge pull request #50440 from Mic92/nix-cores

    nixos/nix-daemon: default to build with all cores available
    edolstra authored Nov 16, 2018
    Copy the full SHA
    5835b27 View commit details
Showing with 2 additions and 2 deletions.
  1. +2 −2 nixos/modules/services/misc/nix-daemon.nix
4 changes: 2 additions & 2 deletions nixos/modules/services/misc/nix-daemon.nix
Original file line number Diff line number Diff line change
@@ -117,11 +117,11 @@ in

buildCores = mkOption {
type = types.int;
default = 1;
default = 0;
example = 64;
description = ''
This option defines the maximum number of concurrent tasks during
one build. It affects, e.g., -j option for make. The default is 1.
one build. It affects, e.g., -j option for make.
The special value 0 means that the builder should use all
available CPU cores in the system. Some builds may become
non-deterministic with this option; use with care! Packages will