[Nix-dev] ‘boost::too_few_args’ in ‘getLineFromSubstituter’

Eelco Dolstra eelco.dolstra at logicblox.com
Fri Mar 28 17:07:26 CET 2014


Hi,

On 28/03/14 15:52, Ludovic Courtès wrote:

> In some cases (substituter error), I’m getting this:
> 
>   unexpected Nix daemon error: boost::too_few_args: format-string refered to more arguments than were passed

Thanks, I've committed a fix for this.

> I’m under the impression that the 2nd arg to printMsg (in
> ‘getLineFromSubstituter’) is implicitly cast to ‘format’, which is
> likely to cause problems if it contains the percent sign.

Right, that was what was happening.

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list