Merge pull request #230734 from Mindavi/gnuplot/cross
gnuplot: fix cross-compilation by disabling docs and demos
This commit is contained in:
commit
c630a4f842
1 changed files with 6 additions and 0 deletions
|
@ -66,6 +66,12 @@ in
|
|||
--run '. ${./set-gdfontpath-from-fontconfig.sh}'
|
||||
'';
|
||||
|
||||
# When cross-compiling, don't build docs and demos.
|
||||
# Inspiration taken from https://sourceforge.net/p/gnuplot/gnuplot-main/merge-requests/10/
|
||||
makeFlags = lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
|
||||
"-C src"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue