groff: Get rid of crossAttrs

This commit is contained in:
John Ericson 2018-05-10 13:46:38 -04:00
parent 7781d7b875
commit 1080e264fb

View File

@ -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.