eef0deb633
This makes the system package fully nixified in the sense that for i in $(nix -qn $(fix system/system-template-everything.fix))/bin/*; \ do echo $i; ldd $i; done shows that the programs in the system package only link against libraries in the Nix store. (Some builders still use header files from /usr/X11/include, though.) svn path=/nixpkgs/trunk/; revision=376
20 lines
540 B
Bash
Executable file
20 lines
540 B
Bash
Executable file
#! /bin/sh
|
|
|
|
envpkgs="$freetype $expat $x11"
|
|
. $stdenv/setup || exit 1
|
|
export PATH=$ed/bin:$PATH
|
|
|
|
# Fontconfig generates a bad `fonts.conf' file is the timezone is not known
|
|
# (because it calls `date').
|
|
export TZ=UTC
|
|
|
|
tar xvfz $src || exit 1
|
|
cd fcpackage*/fontconfig || exit 1
|
|
./configure --prefix=$out --with-confdir=$out/etc/fonts \
|
|
--x-includes=$x11/include --x-libraries=$x11/lib \
|
|
--with-expat-includes=$expat/include --with-expat-lib=$expat/lib || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
|
|
echo $envpkgs > $out/envpkgs || exit 1
|