[Nix-dev] Patch: Add a "--from-file" option to all nix commands

Shea Levy shea at shealevy.com
Mon Aug 8 21:16:49 CEST 2011


This version of the patch uses tokenizeString to parse, and only 
tokenizes on newlines. This is STILL NOT TESTED, will report back once 
I've tested it.

~Shea

On 08/08/2011 02:52 PM, shea at shealevy.com wrote:
>> Hi all,
>>
>> This patch adds and documents the "--from-file" option which allows
>> parsing a file (or stdin) for additional arguments to the command. Note
>> that this patch is NOT YET TESTED, I'm sending it here while I work on
>> figuring out how to build nix from SVN in the hopes that someone might
>> already be equipped to do so and might test it in the mean time.
>>
>> Cheers,
>> Shea Levy
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at cs.uu.nl
>> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>>
> Forgot to mention why we care about this: This will allow us to avoid the
> "argument list too long" problem with the default remote builder hook by
> allowing us to send arguments via stdin.
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: from-file-option.patch
Url: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110808/16fce641/attachment.pl 


More information about the nix-dev mailing list