[Nix-dev] Job fails in Hydra, works locally

Eelco Dolstra eelco.dolstra at logicblox.com
Thu Jun 13 13:04:25 CEST 2013


Hi,

On 13/06/13 12:37, Malcolm Matalka wrote:

> http://hydra.nixos.org/build/5270051
> 
> This job seems to fail sometimes in hydra.  However when I run the do
> "Reproduce locally" it works fine.
> 
> Does anyone have any suggestions for how to debug this?

The program "rebar" begins with "#! /usr/bin/env", but /usr/bin/env doesn't
exist in the chroot environment used by Hydra, hence it fails.  You can
reproduce this locally by setting the Nix option "build-use-chroot" to "true".

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


More information about the nix-dev mailing list