[Nix-dev] NIX_BUILD_HOOK documentation

Eelco Dolstra eelco.dolstra at logicblox.com
Mon Jun 25 17:20:19 CEST 2012


Hi,

On 25/06/12 08:34, Rickard Nilsson wrote:

> I was looking for the documentation for NIX_BUILD_HOOK, but it seems to  
> have been commented out in  
> https://github.com/NixOS/nix/commit/7a213ffc6912794d2cc4374bb9bf2c1f59a384a3  
> . Why is that? Has the NIX_BUILD_HOOK protocol changed? 

I think I commented it out because it's somewhat outdated.

> My aim is to write  
> my own build hook, should I wait for updated documentation or follow the  
> existing (commented out) documentation?

The best thing is to look at the source of build-remote.pl (and if necessary,
src/libstore/build.cc).

-- 
Eelco Dolstra | LogicBlox, Inc. | http://www.st.ewi.tudelft.nl/~dolstra/


More information about the nix-dev mailing list