Peter Simons wrote:

> Hi Yury,
> 
> However, I don't want an impure /lib/modules path either. I appreciate
> that introducing that path would make life easier for people who package
> kernel modules, but that convenience comes at a price, namely the risk
> that impure builds will erroneously succeed and will end up building
> software that crashes the machine or something.
My point here is that NixOS has a very good way to avoid such risks. This 
way is called "chroot builds". I think that this is much lower price than 
patching every single package to look into /var/run/booted-
system/lib/modules.

BTW, if we do care about non-chroot builds and/or "nix on non-NixOS", we 
should at least apply the glibc patch sent by Jack Cummings on 09.03.2012 
that fixes some $glibc/lib/*.so rpath issues.
-- 
Yury G. Kudryashov,
mailto: ur...@mccme.ru

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to