gnuplot: fix cross-compilation by disabling docs and demos
Now we can cross-build rtl_433 completely!
This commit is contained in:
@@ -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; {
|
||||
|
||||
Reference in New Issue
Block a user