Work around hard-coded /usr/bin/nroff' in configure'.

svn path=/nixpkgs/trunk/; revision=25533
This commit is contained in:
Ludovic Courtès
2011-01-13 10:03:16 +00:00
parent 2ae2385f26
commit 9b9b5e2f53
3 changed files with 13 additions and 4 deletions
+6 -3
View File
@@ -1,8 +1,11 @@
{stdenv, fetchurl}:
{ stdenv, fetchurl, groff }:
stdenv.mkDerivation {
name = "mktemp-1.6";
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
NROFF = "${groff}/bin/nroff";
src = fetchurl {
url = ftp://ftp.mktemp.org/pub/mktemp/mktemp-1.6.tar.gz;
sha256 = "1nfj89b0dv1c2fyqi1pg54fyzs3462cbp7jv7lskqsxvqy4mh9x1";