diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-02-01 21:29:39 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-02-01 21:29:39 +0000 |
commit | c9b6da363f870ef93047912cfac86535bb64add0 (patch) | |
tree | fcbe20518dd989436d0dcfe27d42dec6970cb770 | |
parent | 52122b0e4d3755139dbe9ca6b114bbca96332997 (diff) | |
download | nixlib-c9b6da363f870ef93047912cfac86535bb64add0.tar nixlib-c9b6da363f870ef93047912cfac86535bb64add0.tar.gz nixlib-c9b6da363f870ef93047912cfac86535bb64add0.tar.bz2 nixlib-c9b6da363f870ef93047912cfac86535bb64add0.tar.lz nixlib-c9b6da363f870ef93047912cfac86535bb64add0.tar.xz nixlib-c9b6da363f870ef93047912cfac86535bb64add0.tar.zst nixlib-c9b6da363f870ef93047912cfac86535bb64add0.zip |
* Hack to prevent a dependency in Glibc on the stdenv-linux bootstrap
tools. svn path=/nixpkgs/branches/stdenv-updates/; revision=13943
-rw-r--r-- | pkgs/development/libraries/glibc-2.9/builder.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/development/libraries/glibc-2.9/builder.sh b/pkgs/development/libraries/glibc-2.9/builder.sh index 1bf806c01493..34219f12f429 100644 --- a/pkgs/development/libraries/glibc-2.9/builder.sh +++ b/pkgs/development/libraries/glibc-2.9/builder.sh @@ -7,11 +7,12 @@ source $stdenv/setup # Explicitly tell glibc to use our pwd, not /bin/pwd. export PWD_P=$(type -tP pwd) -# Needed to install share/zoneinfo/zone.tab. -export BASH_SHELL=$SHELL +# Needed to install share/zoneinfo/zone.tab. Set to impure /bin/sh to +# prevent a retained dependency on the bootstrap tools in the +# stdenv-linux bootstrap. +export BASH_SHELL=/bin/sh -preConfigure=preConfigure preConfigure() { for i in configure io/ftwtest-sh; do @@ -34,7 +35,6 @@ preConfigure() { } -postConfigure=postConfigure postConfigure() { # Hack: get rid of the `-static' flag set by the bootstrap stdenv. # This has to be done *after* `configure' because it builds some @@ -44,7 +44,6 @@ postConfigure() { } -postInstall=postInstall postInstall() { if test -n "$installLocales"; then make localedata/install-locales |