[Nix-dev] Re: `guile-1.6.7' fails to build

Ludovic Courtès ludovic.courtes at laas.fr
Mon Oct 15 14:14:35 CEST 2007


Hi!

Eelco Dolstra <eelco at cs.uu.nl> writes:

>  For instance, GCC and ld are patched to not search in standard locations like
> /usr/include, and the gcc-wrapper script barfs if you pass it a path outside of
> the Nix store or the build's temporary directory.  And of course the environment
> is cleared to prevent search paths like $PATH from affecting the builder.

I see.  Still, it seems that a chroot with bind mounts, or Plash, would
provide a more generic (and more reliable?) way to address such issues.
:-)

> But we can't stop a configure script from finding (say) /usr/bin/perl and
> calling it.  This is in fact one of the reasons why we made NixOS --- there is
> no /usr/bin/perl, so configure can't find it ;-)  (The build farm that produces
> our releases runs on NixOS, so if channel packages have hidden dependencies on
> files outside /nix/store, the build farm will reveal this.)

OK, thanks for the explanation.

BTW, that doesn't tell me why `guile-1.6.7' fails to build here.  :-)

Thanks,
Ludovic.




More information about the nix-dev mailing list