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

shea at shealevy.com shea at shealevy.com
Tue Aug 9 00:39:03 CEST 2011


Having problems with the additions to the manual, so this patch only has
the code changes.

> This version is tested and works as expected.
>
> On 08/08/2011 03:16 PM, Shea Levy wrote:
>> 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
>>
>>
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at cs.uu.nl
>> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: from-file-option.patch
Type: application/octet-stream
Size: 1009 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110808/14c82d2b/attachment.obj 


More information about the nix-dev mailing list