Re: [Nix-dev] influence of cpu/kernel version on builds

2012-03-08 Thread Ludovic Courtès
Hello, Usually, programs are written against the libc API, so the kernel should not have any influence. However, there are obvious abstraction leaks. For instance, I saw a case where the VFS in a new version of Linux would return a different error code than previous version, in some cases.

[Nix-dev] influence of cpu/kernel version on builds

2012-03-07 Thread Mathijs Kwik
Hi all, I recently ran into a package (nss) which failed to compile on my laptop, but succeeded on my desktop. Now, you would think this must be because some dependency/setting is different on these machines, meaning the nix-store hash of the result would end up differently, but this was not the

Re: [Nix-dev] influence of cpu/kernel version on builds

2012-03-07 Thread Lluís Batlle i Rossell
On Wed, Mar 07, 2012 at 09:13:45AM +0100, Mathijs Kwik wrote: Then I saw this commit come along [1]. Indeed the only difference I can think of between these machines are the kernel version and the hardware itself. As nss doesn't depend on the kernel, its store path ends up the same, but

Re: [Nix-dev] influence of cpu/kernel version on builds

2012-03-07 Thread Eelco Dolstra
Hi, On 07/03/12 09:13, Mathijs Kwik wrote: Then I saw this commit come along [1]. Indeed the only difference I can think of between these machines are the kernel version and the hardware itself. FWIW, Linux 3.x has a personality to report 2.6 to userspace programs:

Re: [Nix-dev] influence of cpu/kernel version on builds

2012-03-07 Thread Marc Weber
https://nixos.org/wiki/Nix_impurities I've just filled some content on this page. Yes - the log files would be interesting. Marc Weber ___ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev