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:
parent
1199d6372d
commit
a3cc980193
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user