[Nix-dev] Why does nix depend on gcc-4.2.1-apple-5646?

Lluís Batlle i Rossell viriketo at gmail.com
Mon Nov 29 19:30:18 CET 2010


On Mon, Nov 29, 2010 at 07:11:48PM +0100, Peter Simons wrote:
> Hi guys,
> 
> I'm running Nix on i686-linux:
> 
>   $ nix-env -q \* --system
>   nix-1.0pre24122  i686-linux
> 
> Now, when I try to update my installation using the current HEAD of
> nixpkgs trunk, one of the dependencies are the GCC binaries for Darwin:
> 
>   $ nix-env -u \* --always --dry-run
>   (dry run; not doing anything)
>   upgrading `nix-1.0pre24122' to `nix-1.0pre24749'
>   the following paths will be downloaded/copied (0.00 MiB):
>     /nix/store/0iyck40cbhmx0ksdjg3gg8ygs7h6apki-sqlite-3.7.2
>     /nix/store/0rhkg57hpyhqvgkz6jyjnnz4vwjcp8kp-curl-7.21.0
>     /nix/store/2bmj7gbdvgs694srcp5759ycxby7mcil-nix-1.0pre24749
>     /nix/store/5z7wx3n3f6pplwp08rppzxas7x6n0mhq-bash-4.1-p2
>     /nix/store/6p4jxwxylj52f2phaxgpxp750d000j47-gcc-4.2.1-apple-5646
>     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     /nix/store/b7ghnwz1hir6wfdvday7gyp8xac6y9fb-bzip2-1.0.5
>     /nix/store/drj9hj4kwckz5jmgmnm5iyqqz609fkx6-gnutar-1.22
>     /nix/store/jlp4cqdnl26x8iwscdnwhv3n7is9q3zr-gnused-4.1.5
>     /nix/store/l3762dh1yrvsz8fcyvmphrn8v6hf1537-boehm-gc-7.1
>     /nix/store/mbrfb3r2yp1d7ywx3n428cjjhi8qx3jx-libssh2-1.2.6
>     /nix/store/p5d0i87bqxa1a2a5yx3js7hk78ddlky7-perl-5.10.1
>     /nix/store/vl61b8lj9p43whz32qrg592g9rwjk091-zlib-1.2.5
>     /nix/store/vszcl6ablpgczk8dr7n0sim0skn97jmf-coreutils-8.4
>     /nix/store/x54bki57a4sq6avyfr0njzz6nywrykh4-openssl-1.0.0b
> 
> This can't be right, can it? Does anyone know what this is all about?
I'll make a guess (I never used apple before).

nix requires libstdc++, that is provided by that gcc. Can it be?



More information about the nix-dev mailing list