* The postInstall attribute in default.nix did nothing, because
builder.sh already sets postInstall. As a result Glibc had a retained dependency on bootstrap-tools. Added the "rm" to builder.sh. * localesbuilder.sh -> locales-builder.sh. svn path=/nixpkgs/branches/stdenv-updates/; revision=19516
This commit is contained in:
parent
f33363a841
commit
a9634c0c5a
@ -27,6 +27,8 @@ postInstall() {
|
|||||||
if test -n "$is64bit"; then
|
if test -n "$is64bit"; then
|
||||||
ln -s lib $out/lib64
|
ln -s lib $out/lib64
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm $out/lib/libgcc_s.so.1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -68,11 +68,11 @@ stdenv.mkDerivation ({
|
|||||||
"--enable-kernel=2.6.0"
|
"--enable-kernel=2.6.0"
|
||||||
"--without-fp"
|
"--without-fp"
|
||||||
"--with-__thread"
|
"--with-__thread"
|
||||||
] ++ (if (stdenv.system == "armv5tel-linux") then [
|
] ++ stdenv.lib.optionals (stdenv.system == "armv5tel-linux") [
|
||||||
"--host=arm-linux-gnueabi"
|
"--host=arm-linux-gnueabi"
|
||||||
"--build=arm-linux-gnueabi"
|
"--build=arm-linux-gnueabi"
|
||||||
"--without-fp"
|
"--without-fp"
|
||||||
] else []);
|
];
|
||||||
|
|
||||||
buildInputs = stdenv.lib.optionals (cross != null) [ gccCross ];
|
buildInputs = stdenv.lib.optionals (cross != null) [ gccCross ];
|
||||||
|
|
||||||
|
@ -21,10 +21,6 @@ in
|
|||||||
ln -s ${stdenv.gcc.gcc}/lib/libgcc_s.so.1 $out/lib/libgcc_s.so.1
|
ln -s ${stdenv.gcc.gcc}/lib/libgcc_s.so.1 $out/lib/libgcc_s.so.1
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
rm $out/lib/libgcc_s.so.1
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta.description = "The GNU C Library";
|
meta.description = "The GNU C Library";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ in
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
installLocales = true;
|
installLocales = true;
|
||||||
|
|
||||||
builder = ./localesbuilder.sh;
|
builder = ./locales-builder.sh;
|
||||||
|
|
||||||
# Awful hack: `localedef' doesn't allow the path to `locale-archive'
|
# Awful hack: `localedef' doesn't allow the path to `locale-archive'
|
||||||
# to be overriden, but you *can* specify a prefix, i.e. it will use
|
# to be overriden, but you *can* specify a prefix, i.e. it will use
|
||||||
|
Loading…
x
Reference in New Issue
Block a user