diff options
author | Joe Hermaszewski <git@monoid.al> | 2017-04-24 00:01:56 +0000 |
---|---|---|
committer | Joe Hermaszewski <git@monoid.al> | 2017-04-25 19:59:35 +0000 |
commit | 3eee6ea7c17aea50b8a1e04b95e9ee226591e38f (patch) | |
tree | 346259bc6c7d3eb3b0731f5aaef02f2cf48dfe1a /pkgs/tools/text/groff | |
parent | 34436df0d0e57caafb6b0ed5911f71861b10a6eb (diff) |
groff: use buildPackages to fix cross compile
Diffstat (limited to 'pkgs/tools/text/groff')
-rw-r--r-- | pkgs/tools/text/groff/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/text/groff/default.nix b/pkgs/tools/text/groff/default.nix index df6a1119800e..aa9ece8955b4 100644 --- a/pkgs/tools/text/groff/default.nix +++ b/pkgs/tools/text/groff/default.nix @@ -1,6 +1,7 @@ { stdenv, fetchurl, perl, groff , ghostscript #for postscript and html output , psutils, netpbm #for html output +, buildPackages }: stdenv.mkDerivation rec { @@ -49,7 +50,7 @@ stdenv.mkDerivation rec { # Trick to get the build system find the proper 'native' groff # http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html preBuild = '' - makeFlags="GROFF_BIN_PATH=${groff}/bin GROFFBIN=${groff}/bin/groff" + makeFlags="GROFF_BIN_PATH=${buildPackages.groff}/bin GROFFBIN=${buildPackages.groff}/bin/groff" ''; }; |