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
{ stdenv, fetchurl, perl, groff
2
, ghostscript #for postscript and html output
3
, psutils, netpbm #for html output
0
4
}:
5
6
stdenv.mkDerivation rec {
···
49
# Trick to get the build system find the proper 'native' groff
50
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
51
preBuild = ''
52
-
makeFlags="GROFF_BIN_PATH=${groff}/bin GROFFBIN=${groff}/bin/groff"
53
'';
54
};
55
···
1
{ stdenv, fetchurl, perl, groff
2
, ghostscript #for postscript and html output
3
, psutils, netpbm #for html output
4
+
, buildPackages
5
}:
6
7
stdenv.mkDerivation rec {
···
50
# Trick to get the build system find the proper 'native' groff
51
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
52
preBuild = ''
53
+
makeFlags="GROFF_BIN_PATH=${buildPackages.groff}/bin GROFFBIN=${buildPackages.groff}/bin/groff"
54
'';
55
};
56