groff: explicitly disable X11 support in configure to avoid impure builds

Without this flag, the configure script will find /usr/X11 on host system and
assume that it can build with X11 support.
This commit is contained in:
Peter Simons 2013-06-11 11:55:52 +02:00
parent 1199d6372d
commit a3cc980193

View File

@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
buildInputs = [ ghostscript ];
nativeBuildInputs = [ perl ];
# Builds running without a chroot environment may detect the presence
# of /usr/X11 in the host system, leading to an impure build of the
# package. To avoid this issue, X11 support is explicitly disabled.
# Note: If we ever want to *enable* X11 support, then we'll probably
# have to pass "--with-appresdir", too.
configureFlags = "--without-x";
doCheck = true;
crossAttrs = {