nixpkgs/pkgs/applications/editors/emacs-unicode/builder.sh
Eelco Dolstra 6c92badd87 * Added the Emacs Unicode branch (which supposedly will become Emacs
23.x), which GTK and Xft support.  Add something like

    (set-default-font "Bitstream Vera Sans Mono-8")

  to ~/.emacs to get a TTF font.

svn path=/nixpkgs/trunk/; revision=7841
2007-02-05 14:55:15 +00:00

18 lines
400 B
Bash

source $stdenv/setup
myglibc=`cat ${NIX_GCC}/nix-support/orig-libc`
echo "glibc: $myglibc"
postConfigure=postConfigure
postConfigure() {
cp $myglibc/lib/crt1.o src
cp $myglibc/lib/crti.o src
cp $myglibc/lib/crtn.o src
for i in Makefile ./src/Makefile ./lib-src/Makefile ./leim/Makefile ./admin/unidata/Makefile; do
substituteInPlace $i --replace /bin/pwd pwd
done
}
genericBuild