1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00

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/
'';