Fix some interpreter paths

svn path=/nixpkgs/trunk/; revision=20182
This commit is contained in:
Michael Raskin 2010-02-22 23:40:39 +00:00
parent 4b22e9d61d
commit 023ff2a74a

View File

@ -62,6 +62,12 @@ rec {
PATH=$PATH:$out/bin mktexlsr $out/texmf* PATH=$PATH:$out/bin mktexlsr $out/texmf*
'') ["minInit" "defEnsureDir" "doUnpack" "doMakeInstall"]; '') ["minInit" "defEnsureDir" "doUnpack" "doMakeInstall"];
doFixPathsBin = (doPatchShebangs "$out/bin");
doPreparePathsLibexec = args.fullDepEntry ''
for i in $out/libexec/*/*; do sed -r -e '1s/^#! *([a-z])/#! \/\1/' -i $i || true; done
'' ["minInit" "addInputs"];
doFixPathsLibexec = (doPatchShebangs "$(echo $out/libexec/*)");
buildInputs = [ buildInputs = [
zlib bzip2 ncurses libpng flex bison libX11 libICE zlib bzip2 ncurses libpng flex bison libX11 libICE
xproto freetype t1lib gd libXaw icu ghostscript ed xproto freetype t1lib gd libXaw icu ghostscript ed
@ -73,9 +79,9 @@ rec {
"--enable-ipc" "--with-mktexfmt" "--enable-ipc" "--with-mktexfmt"
]; ];
phaseNames = ["addInputs" (doDump "0") "doMainBuild" phaseNames = ["addInputs" "doMainBuild" "doMakeInstall"
(doDump "1") "doPostInstall" "doFixPathsBin" "doPreparePathsLibexec"
"doMakeInstall" "doPostInstall"]; "doFixPathsLibexec"];
name = "texlive-core-2009"; name = "texlive-core-2009";
meta = { meta = {