diff options
author | Peter Simons <simons@cryp.to> | 2013-06-11 11:55:52 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2013-06-11 12:14:49 +0200 |
commit | a2680cdc48b47dbd37b1e734452b3df3bb3ed8a9 (patch) | |
tree | bcd8782f61cfbdd200729a9ed7e17c8498a665cf /pkgs/tools/text/groff | |
parent | f06f6955bdc4300f439d594edfcb1b51d517a72e (diff) |
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.
Diffstat (limited to 'pkgs/tools/text/groff')
-rw-r--r-- | pkgs/tools/text/groff/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix index a4ca140b1153..f4d3169f2fae 100644 --- a/pkgs/tools/text/groff/default.nix +++ b/pkgs/tools/text/groff/default.nix @@ -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 = { |