nixpkgs/pkgs/top-level
Lluís Batlle i Rossell e7c8e8da4f I made the whole nixpkgs dependencies available to the cross compiler, no
needing to keep a new tree of expressions apart for the expressions to get
cross-compiled.

I changed the whole way of using cross compilation with nixpkgs, which before
was done through a simple adapter.

Now the adapter became complex, and I've tried to avoid the most obvious
recursivities. For example, the fetchurl expression should
never be cross-compiled, as the gmp, mpfr, and some others, like
some ncurses, perl, ... I made overrided copies of those necessary as
perlNoCross, ncursesNoCross, as stdenvNoCross, keeping in mind that
the stdenv (capable of cross compilation) is built upon stdenvNoCross using
an adapter.

So, to cross compile, instead of building using "nixpkgs/default.nix",
you should build with your
own "myarchiteture.nix", which should have contents like these, for example:

import /etc/nixos/nixpkgs/default.nix
{
    crossSystem = {
        config = "armv5tel-unknown-linux-gnueabi";
        bigEndian = false;
        arch = "arm";
        float = "soft";
    };
}


svn path=/nixpkgs/branches/stdenv-updates/; revision=18398
2009-11-17 22:58:48 +00:00
..
all-packages.nix I made the whole nixpkgs dependencies available to the cross compiler, no 2009-11-17 22:58:48 +00:00
guile-2-test.nix GNU Guile 1.9 with coverage analysis builds. 2009-10-28 16:16:23 +00:00
haskell-packages.nix Updated utf8-string, added mpppc. 2009-11-06 14:09:30 +00:00
make-tarball.nix * Use --meta --xml to check whether the meta attributes all evaluate 2009-10-13 09:05:09 +00:00
mingw.nix
perl-packages.nix * Some more Catalyst updates. 2009-10-23 14:57:44 +00:00
python-packages.nix Updating from trunk. 2009-11-08 00:40:07 +00:00
release.nix add static variant of sdf 2009-11-09 09:57:59 +00:00