diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-01-13 10:03:16 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-01-13 10:03:16 +0000 |
commit | 9b9b5e2f53b342128a8c450c61ee40adb48cb462 (patch) | |
tree | 64b85838d8d281dff24318cf8779daeb63804b2a /pkgs/development/libraries/libedit | |
parent | 2ae2385f2634093c365114334b6d3fd091870d57 (diff) |
Work around hard-coded `/usr/bin/nroff' in `configure'.
svn path=/nixpkgs/trunk/; revision=25533
Diffstat (limited to 'pkgs/development/libraries/libedit')
-rw-r--r-- | pkgs/development/libraries/libedit/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libedit/default.nix b/pkgs/development/libraries/libedit/default.nix index fb45563a17935..dca4d8efc1347 100644 --- a/pkgs/development/libraries/libedit/default.nix +++ b/pkgs/development/libraries/libedit/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses}: +{ stdenv, fetchurl, ncurses, groff }: stdenv.mkDerivation rec { name = "libedit-20100424-3.0"; @@ -8,6 +8,9 @@ stdenv.mkDerivation rec { sha256 = "11hxaq58gym7kqccjhxywjxdibffzg545z1aj997y1dn0rckhav0"; }; + # Have `configure' avoid `/usr/bin/nroff' in non-chroot builds. + NROFF = "${groff}/bin/nroff"; + postInstall = '' sed -i s/-lncurses/-lncursesw/g $out/lib/pkgconfig/libedit.pc ''; |