Fixing the glibc locales build expression (in the sense that now it builds, not that it looks nice)
svn path=/nixpkgs/branches/stdenv-updates/; revision=23369
This commit is contained in:
parent
15f83acc0c
commit
a480f92f9d
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ in
|
|||
buildPhase =
|
||||
''
|
||||
mkdir -p $TMPDIR/"$(dirname $(readlink -f $(type -p localedef)))/../lib/locale"
|
||||
|
||||
# Hack to allow building of the locales (needed since glibc-2.12)
|
||||
sed -i -e 's/^LOCALEDEF=/LOCALEDEF?=/' ../glibc-2*/localedata/Makefile
|
||||
|
||||
make localedata/install-locales \
|
||||
LOCALEDEF="localedef --prefix=$TMPDIR" \
|
||||
localedir=$out/lib/locale \
|
||||
|
|
Loading…
Reference in a new issue