[Nix-dev] Problems building installation CD on Debian etch x86_64

Steve Roggenkamp roggenkamps at acm.org
Wed Nov 19 13:53:01 CET 2008


Linux version 2.6.18-5-xen-amd64 (Debian 2.6.18.dfsg.1-17) 
(dannf at debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian 
4.1.1-21)) #1 SMP Sat Dec 22 22:22:11 UTC 2007

Which is correct, of course.

As I understand it, the glibc-multi attempts to build both the x86_64 
and the i686 versions to insure 32-bit libraries are available.  Things 
go downhill from there.  I haven't followed everything through as I was 
hoping someone had encountered this before and would have a fix.

Thanks,
Steve

Pjotr Prins wrote:
> Strange. I am not good at Nix internals, but by your description Nix
> picks up the wrong value from the OS. What does  cat /proc/version 
> say? Mine says:
>
> Linux version 2.6.18-4-k7 (Debian 2.6.18.dfsg.1-12)
> (waldi at debian.org) (gcc version 4.1.2 20061115 (prerelease) (Debian
> 4.1.1-21)) #1 SMP Mon Mar 26 17:57:15 UTC 2007
>
> You can override stdenvType to force a build, see
> pkgs/top-level/all-packages.nix, but I am not used to that either. If
> this does not help, better put it to the list again.  Some real gurus
> there.
>
> Pj.
>
> On Wed, Nov 19, 2008 at 07:18:23AM -0500, Steve Roggenkamp wrote:
>   
>> Derive([...,("system","i686-linux")])
>>
>> I haven't followed the code that reads the derivation to set the 
>> internal variables in nix-build.
>>
>>     
>
>   



More information about the nix-dev mailing list