[Nix-dev] Re: [Nix-commits] SVN commit: nix - 18534 - viric - in nixpkgs/branches/stdenv-updates/pkgs: build-support/gcc-cross-wrapper development/compilers/gcc-4.3 development/interpreters/guile development/libraries/glibc-2.9 development/libraries/physfs dev

Lluís Batlle viriketo at gmail.com
Mon Nov 23 12:19:17 CET 2009


2009/11/23 Nicolas Pierron <nicolas.b.pierron at gmail.com>:
> On Sun, Nov 22, 2009 at 20:51, Llus Batlle <viriketo at gmail.com> wrote:
>> - Fixed the generic stdenv expression, which did a big mess on buildInputs and
>>  buildNativeInputs. Now it distinguishes when there is a stdenvCross or not.
>>  Maybe we should have a single stdenv and forget about the stdenvCross
>>  adapter - this could end in a stdenv a bit complex, but simpler than the
>>  generic stdenv + adapter.
>
> Yes & No.  The generic stdenv should handle gccHost and libcHost (not
> gccCross & glibcCross).  But you still need an adapter to change
> between the stdenv and to give the abstraction of the hostDrv &
> buildDrv.  As you mention stdenv give you one derivation which is a
> sane design.
>
> Yes, you need an stdenv which handles cross-compilation attributes.
> No, you need an adapter to introduce stdenv changes to either build
> the buildDrv or the hostDrv.

Does this mean that you agree with the actual code, and so you do not
propose to aim towards any change in the current adapter and generic
stdenv?



More information about the nix-dev mailing list