git.iko.soy/typeable/nixpkgs
on master help sign in
plotutils: fix parallel building

E.g. https://hydra.nixos.org/build/75429322: b_closepl.c:21:10: fatal error: xmi.h: No such file or directory make[2]: *** [Makefile:958: b_closepl.lo] Error 1 make[2]: Leaving directory '/build/plotutils-2.6/libplot'

commit07e1ae54a65e0a6359cb7ded62cad0e9bb8f2fcd authorOrivej Desh <orivej@gmx.fr> dateMon 4 Jun 2018, 06:46 (8 years ago) parent61f5b9d
1 file changed+5
pkgs/tools/graphics/plotutils/default.nix+5
pkgs/tools/graphics/plotutils/default.nix+5
@@ -17,6 +17,11 @@ stdenv.mkDerivation rec {
1717 buildInputs = [ libpng ];
1818 patches = map fetchurl (import ./debian-patches.nix);
1919
20+ preBuild = ''
21+ # Fix parallel building.
22+ make -C libplot xmi.h
23+ '';
24+
2025 configureFlags = "--enable-libplotter"; # required for pstoedit
2126
2227 hardeningDisable = [ "format" ];