Also fix ppc* copying in source fpc builder

svn path=/nixpkgs/trunk/; revision=19462
This commit is contained in:
Michael Raskin 2010-01-15 10:43:21 +00:00
parent 164bb7e1d7
commit 36f6b1873d

View File

@ -25,7 +25,9 @@ stdenv.mkDerivation rec {
installFlags = "INSTALL_PREFIX=\${out}";
postInstall = ''
ln -fs $out/lib/fpc/*/ppc386 $out/bin
for i in $out/lib/fpc/*/ppc*; do
ln -fs $i $out/bin/$(basename $i)
done
mkdir -p $out/lib/fpc/etc/
$out/lib/fpc/*/samplecfg $out/lib/fpc/${version} $out/lib/fpc/etc/
'';