diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-11-28 12:57:42 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2009-11-28 12:57:42 +0000 |
commit | 2b580b984614c17e14852ed702da4d6be5cae9c4 (patch) | |
tree | 68a0b2875adc3e08648c842e191ed0750557394c /pkgs/development/interpreters | |
parent | f310356cbc4cebc9298b655d3cfcdf0d2c2b4bb0 (diff) | |
download | nixlib-2b580b984614c17e14852ed702da4d6be5cae9c4.tar nixlib-2b580b984614c17e14852ed702da4d6be5cae9c4.tar.gz nixlib-2b580b984614c17e14852ed702da4d6be5cae9c4.tar.bz2 nixlib-2b580b984614c17e14852ed702da4d6be5cae9c4.tar.lz nixlib-2b580b984614c17e14852ed702da4d6be5cae9c4.tar.xz nixlib-2b580b984614c17e14852ed702da4d6be5cae9c4.tar.zst nixlib-2b580b984614c17e14852ed702da4d6be5cae9c4.zip |
Updating the perl-5.10 expression to support the bootstrapping stdenv better
- I still have not understood why it worked without this fix before, and I think this has been triggered by the gcc-4.4, but I have not investigated this much. I went with the trivial fix. Adding a glibc-2.10.1 expression, because the glibc-2.11 still does not have a ports release, so it cannot be used in arm. I'm using it only in native compilation by now. Making the default glibc to be 2.10 instead of 2.11 in armv5tel-linux. svn path=/nixpkgs/branches/stdenv-updates/; revision=18688
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r-- | pkgs/development/interpreters/perl-5.10/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/perl-5.10/default.nix b/pkgs/development/interpreters/perl-5.10/default.nix index 94fda842bb15..f5abffb26e22 100644 --- a/pkgs/development/interpreters/perl-5.10/default.nix +++ b/pkgs/development/interpreters/perl-5.10/default.nix @@ -57,7 +57,8 @@ stdenv.mkDerivation { ${if stdenv.system == "armv5tel-linux" then "-Dldflags=\"-lm -lrt\"" else ""}; ''; - preBuild = if (stdenv.gcc.nativeTools) then preBuildNative else preBuildNoNative; + preBuild = if (stdenv ? gcc && stdenv.gcc.nativeTools) then + preBuildNative else preBuildNoNative; setupHook = ./setup-hook.sh; } |