gnuplot: fix cross-compilation by disabling docs and demos
Now we can cross-build rtl_433 completely!
This commit is contained in:
parent
ee4a1a8b3f
commit
e9d434cd03
|
@ -68,6 +68,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