groff: Get rid of crossAttrs
This commit is contained in:
parent
7781d7b875
commit
1080e264fb
@ -50,15 +50,14 @@ stdenv.mkDerivation rec {
|
|||||||
"ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
|
"ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||||
|
|
||||||
crossAttrs = {
|
|
||||||
# Trick to get the build system find the proper 'native' groff
|
# Trick to get the build system find the proper 'native' groff
|
||||||
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
|
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
|
||||||
preBuild = ''
|
"GROFF_BIN_PATH=${buildPackages.groff}/bin"
|
||||||
makeFlags="GROFF_BIN_PATH=${buildPackages.groff}/bin GROFFBIN=${buildPackages.groff}/bin/groff"
|
"GROFFBIN=${buildPackages.groff}/bin/groff"
|
||||||
'';
|
];
|
||||||
};
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
# Remove example output with (random?) colors and creation date
|
# Remove example output with (random?) colors and creation date
|
||||||
# to avoid non-determinism in the output.
|
# to avoid non-determinism in the output.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user