mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
groff: Get rid of crossAttrs
This commit is contained in:
parent
7781d7b875
commit
1080e264fb
1 changed files with 6 additions and 7 deletions
|
@ -50,15 +50,14 @@ stdenv.mkDerivation rec {
|
|||
"ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
# 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=${buildPackages.groff}/bin GROFFBIN=${buildPackages.groff}/bin/groff"
|
||||
'';
|
||||
};
|
||||
"GROFF_BIN_PATH=${buildPackages.groff}/bin"
|
||||
"GROFFBIN=${buildPackages.groff}/bin/groff"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
# Remove example output with (random?) colors and creation date
|
||||
# to avoid non-determinism in the output.
|
||||
|
|
Loading…
Reference in a new issue