diff --git a/pkgs/tools/graphics/plotutils/default.nix b/pkgs/tools/graphics/plotutils/default.nix index 85685e0b0482..780e09ee91cf 100644 --- a/pkgs/tools/graphics/plotutils/default.nix +++ b/pkgs/tools/graphics/plotutils/default.nix @@ -17,6 +17,11 @@ stdenv.mkDerivation rec { buildInputs = [ libpng ]; patches = map fetchurl (import ./debian-patches.nix); + preBuild = '' + # Fix parallel building. + make -C libplot xmi.h + ''; + configureFlags = "--enable-libplotter"; # required for pstoedit hardeningDisable = [ "format" ];