summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/graphics/plotutils
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-08-24 21:27:51 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-08-24 21:31:02 +0200
commitf29214caed21438df6b4d961856ca3fcc4ec6e1b (patch)
tree73dcb796f7cb8e1553aba6c19c8b402281eecc9b /pkgs/tools/graphics/plotutils
parent6be25ae545bdef2536afb244b0063ee59e942237 (diff)
plotutils: disable failing test on i686
Diffstat (limited to 'pkgs/tools/graphics/plotutils')
-rw-r--r--pkgs/tools/graphics/plotutils/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/tools/graphics/plotutils/default.nix b/pkgs/tools/graphics/plotutils/default.nix
index abcbabea596c..47cf0a60c2f0 100644
--- a/pkgs/tools/graphics/plotutils/default.nix
+++ b/pkgs/tools/graphics/plotutils/default.nix
@@ -13,7 +13,12 @@ stdenv.mkDerivation rec {
sha256 = "1arkyizn5wbgvbh53aziv3s6lmd3wm9lqzkhxb3hijlp1y124hjg";
};
- buildInputs = [libpng];
+ buildInputs = [ libpng ];
+
+ # disable failing test on i686
+ prePatch = stdenv.lib.optionalString stdenv.isi686 ''
+ substituteInPlace test/Makefile.in --replace 'spline.test' ' '
+ '';
patches = map fetchurl (import ./debian-patches.nix);
@@ -45,9 +50,7 @@ stdenv.mkDerivation rec {
homepage = http://www.gnu.org/software/plotutils/;
license = stdenv.lib.licenses.gpl2Plus;
- maintainers = [
- stdenv.lib.maintainers.marcweber
- ];
+ maintainers = [ stdenv.lib.maintainers.marcweber ];
platforms = stdenv.lib.platforms.gnu;
};
}