git.iko.soy/typeable/nixpkgs
on master help sign in
plotutils: disable failing test on i686

Cherry-picked from staging to facilitate merging. See f29214caed21438df6b4d961856ca3fcc4ec6e1b vs. fd6a4d23c993f22dff434233ec50db98c6eaf8ed.

commit075e33a682621b1655fef9217a18a6f1e2234230 authorFranz Pletz <fpletz@fnordicwalking.de> dateWed 24 Aug 2016, 21:27 (10 years ago) parent875e6c6
1 file changed+9−7
pkgs/tools/graphics/plotutils/default.nix+9−7
pkgs/tools/graphics/plotutils/default.nix+9−7
@@ -13,15 +13,19 @@ stdenv.mkDerivation rec {
1313 sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
1414 };
1515
16− buildInputs = [libpng];
16+ buildInputs = [ libpng ];
17+
18+ # disable failing test on i686
19+ # https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html
20+ prePatch = stdenv.lib.optionalString stdenv.isi686 ''
21+ substituteInPlace test/Makefile.in --replace 'spline.test' ' '
22+ '';
1723
1824 patches = map fetchurl (import ./debian-patches.nix);
1925
2026 configureFlags = "--enable-libplotter"; # required for pstoedit
2127
22− # disable tests on i686 like ubuntu
23− # https://lists.gnu.org/archive/html/bug-plotutils/2016-04/msg00002.html
24− doCheck = if stdenv.isi686 then false else true;
28+ doCheck = true;
2529
2630 meta = {
2731 description = "Powerful C/C++ library for exporting 2D vector graphics";
@@ -45,9 +49,7 @@ stdenv.mkDerivation rec {
4549 homepage = http://www.gnu.org/software/plotutils/;
4650
4751 license = stdenv.lib.licenses.gpl2Plus;
48− maintainers = [
49− stdenv.lib.maintainers.marcweber
50− ];
52+ maintainers = [ stdenv.lib.maintainers.marcweber ];
5153 platforms = stdenv.lib.platforms.gnu;
5254 };
5355}