tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
groff: use buildPackages to fix cross compile
Joe Hermaszewski
8 years ago
3eee6ea7
34436df0
+2
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
text
groff
default.nix
+2
-1
pkgs/tools/text/groff/default.nix
···
1
1
{ stdenv, fetchurl, perl, groff
2
2
, ghostscript #for postscript and html output
3
3
, psutils, netpbm #for html output
4
4
+
, buildPackages
4
5
}:
5
6
6
7
stdenv.mkDerivation rec {
···
49
50
# Trick to get the build system find the proper 'native' groff
50
51
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
51
52
preBuild = ''
52
52
-
makeFlags="GROFF_BIN_PATH=${groff}/bin GROFFBIN=${groff}/bin/groff"
53
53
+
makeFlags="GROFF_BIN_PATH=${buildPackages.groff}/bin GROFFBIN=${buildPackages.groff}/bin/groff"
53
54
'';
54
55
};
55
56