Merge pull request #44880 from srghma/build-max-jobs-auto
nixos/nix-daemon: build-max-jobs, add support to auto
commiteacaaa2161dfdb2bb022633da2cc771aa8f76cad
authorSilvan Mosberger <infinisil@icloud.com>
dateSat 18 Aug 2018, 16:46 (8 years ago)
parent10777c337e2ebd
nixos/modules/services/misc/nix-daemon.nix+1−1
@@ -88,7 +88,7 @@ in
8888 };
8989
9090 maxJobs = mkOption {
91− type = types.int;
91+ type = types.either types.int (types.enum ["auto"]);
9292 default = 1;
9393 example = 64;
9494 description = ''