3
0
Fork 0
forked from mirrors/nixpkgs

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 f06f6955bd
commit a2680cdc48

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 = {