From 11a8cddff41343d2add0239b02709b38d2c3c1e9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Thu, 17 Dec 2015 06:30:20 +0100 Subject: [PATCH] man-db: use groff from closure, not PATH --- pkgs/tools/misc/man-db/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/misc/man-db/default.nix b/pkgs/tools/misc/man-db/default.nix index 3ec429269a3..d77b7ff4812 100644 --- a/pkgs/tools/misc/man-db/default.nix +++ b/pkgs/tools/misc/man-db/default.nix @@ -9,12 +9,18 @@ stdenv.mkDerivation rec { }; buildInputs = [ pkgconfig libpipeline db groff ]; - + configureFlags = [ "--disable-setuid" "--sysconfdir=/etc" "--localstatedir=/var" "--with-systemdtmpfilesdir=\${out}/lib/tmpfiles.d" + "--with-eqn=${groff}/bin/eqn" + "--with-neqn=${groff}/bin/neqn" + "--with-nroff=${groff}/bin/nroff" + "--with-pic=${groff}/bin/pic" + "--with-refer=${groff}/bin/refer" + "--with-tbl=${groff}/bin/tbl" ]; installFlags = [ "DESTDIR=\${out}" ];