mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
glibc-locales: setup prefix-path differently
:multiple-outputs:
This commit is contained in:
parent
b002fd9cf3
commit
1f7ddbdb82
@ -25,7 +25,7 @@ in
|
||||
# $TMPDIR/nix/store/...-glibc-.../lib/locale/locale-archive.
|
||||
buildPhase =
|
||||
''
|
||||
mkdir -p $TMPDIR/"$(dirname $(readlink -f $(type -p localedef)))/../lib/locale"
|
||||
mkdir -p $TMPDIR/"${stdenv.gcc.libc}/lib/locale"
|
||||
|
||||
# Hack to allow building of the locales (needed since glibc-2.12)
|
||||
sed -i -e "s,^LOCALEDEF=.*,LOCALEDEF=localedef --prefix=$TMPDIR," -e \
|
||||
|
Loading…
Reference in New Issue
Block a user