forked from mirrors/nixpkgs
Slight cleanup
This commit is contained in:
parent
943346d9d0
commit
d8b7b65bb1
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue