Re: [Nix-dev] How do I know I can enableParallelBuilding?

2016-10-17 Thread Vladimír Čunát
On 10/16/2016 09:00 PM, Ruben Astudillo wrote: > On 15/10/16 18:21, Vladimír Čunát wrote: >> For example, I personally think we could have `build-cores = 0` by >> default, as we only leave enableParallelBuilding = true for packages >> that don't fail because of it. > > btw, do you have that

Re: [Nix-dev] How do I know I can enableParallelBuilding?

2016-10-16 Thread Marc Weber
> We should als document why parallel building is disabled by default. build 3 times -> if it works 3 times you are likely to be fine. You never know for sure. mkDervation { run = "1"; # should cause rebuild # inc 2 times } whether builds succeed depends on load/ moon /weather / your nose /

Re: [Nix-dev] How do I know I can enableParallelBuilding?

2016-10-16 Thread Ruben Astudillo
On 15/10/16 18:21, Vladimír Čunát wrote: > For example, I personally think we could have `build-cores = 0` by > default, as we only leave enableParallelBuilding = true for packages > that don't fail because of it. btw, do you have that option set up? If so, what is your general experience with

Re: [Nix-dev] How do I know I can enableParallelBuilding?

2016-10-15 Thread Vladimír Čunát
On 10/15/2016 12:54 AM, Profpatsch wrote: > enableParallelBuilding is disabled by default, because it often > introduces non-deterministic build behaviour. > > How can I check whether the builds will behave nicely? > I think executing twice on the same system would often result > in

[Nix-dev] How do I know I can enableParallelBuilding?

2016-10-14 Thread Profpatsch
enableParallelBuilding is disabled by default, because it often introduces non-deterministic build behaviour. How can I check whether the builds will behave nicely? I think executing twice on the same system would often result in quasi-deterministic behaviour. Do we have CI automation in place