3
0
Fork 0
forked from mirrors/nixpkgs

Slight cleanup

This commit is contained in:
Eelco Dolstra 2012-09-26 15:07:43 -04:00
parent 943346d9d0
commit d8b7b65bb1

View file

@ -15,8 +15,7 @@ stdenv.mkDerivation rec {
configureFlags = "--with-confdir=/etc/fonts --with-cache-dir=/var/cache/fontconfig --disable-docs --with-default-fonts=";
# We should find a better way to access the arch reliably.
crossArch = if (stdenv ? cross && stdenv.cross != null)
then stdenv.cross.arch else null;
crossArch = stdenv.cross.arch or null;
preConfigure = ''
if test -n "$crossConfig"; then