From 36f6b1873de4906e10ed69bef1d6a5ef1e714deb Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Fri, 15 Jan 2010 10:43:21 +0000 Subject: [PATCH] Also fix ppc* copying in source fpc builder svn path=/nixpkgs/trunk/; revision=19462 --- pkgs/development/compilers/fpc/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/compilers/fpc/default.nix b/pkgs/development/compilers/fpc/default.nix index 2d6cadf07fd2..ce1f101b4f56 100644 --- a/pkgs/development/compilers/fpc/default.nix +++ b/pkgs/development/compilers/fpc/default.nix @@ -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/ '';