summary refs log tree commit diff
path: root/pkgs/development/libraries/readline
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-11-17 22:58:48 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2009-11-17 22:58:48 +0000
commite7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa (patch)
treef837606f707a934e928f5046cc4fe2e91c935359 /pkgs/development/libraries/readline
parent0c631f61819e680bc689d432e6c67e4e0da294fb (diff)
downloadnixpkgs-e7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa.tar
nixpkgs-e7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa.tar.gz
nixpkgs-e7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa.tar.bz2
nixpkgs-e7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa.tar.lz
nixpkgs-e7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa.tar.xz
nixpkgs-e7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa.tar.zst
nixpkgs-e7c8e8da4f3f2b77c96eeebfe7e8d42a1dab85fa.zip
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
Diffstat (limited to 'pkgs/development/libraries/readline')
-rw-r--r--pkgs/development/libraries/readline/readline6.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/readline/readline6.nix b/pkgs/development/libraries/readline/readline6.nix
index 60232a8b80b..c789791b29f 100644
--- a/pkgs/development/libraries/readline/readline6.nix
+++ b/pkgs/development/libraries/readline/readline6.nix
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
     sha256 = "1pn13j6f9376kwki69050x3zh62yb1w31l37rws5nwr5q02xk68i";
   };
 
-  propagatedBuildInputs = [ncurses];
+  propagatedHostInputs = [ncurses];
 
   patchFlags = "-p0";
   patches =