#! /bin/sh export NIX_LDFLAGS=-Wl,-s . $stdenv/setup || exit 1 export PATH=$pkgconfig/bin:$PATH envpkgs="$gtk $libIDL" . $setenv || exit 1 tar xvfj $src || exit 1 cd mozilla || exit 1 cat > .mozconfig <> .mozconfig ./configure || exit 1 make -f client.mk build || exit 1 make install || exit 1