Fix some interpreter paths
svn path=/nixpkgs/trunk/; revision=20182
This commit is contained in:
parent
4b22e9d61d
commit
023ff2a74a
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user