summary refs log tree commit diff
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)
downloadnixpkgs-f29214caed21438df6b4d961856ca3fcc4ec6e1b.tar
nixpkgs-f29214caed21438df6b4d961856ca3fcc4ec6e1b.tar.gz
nixpkgs-f29214caed21438df6b4d961856ca3fcc4ec6e1b.tar.bz2
nixpkgs-f29214caed21438df6b4d961856ca3fcc4ec6e1b.tar.lz
nixpkgs-f29214caed21438df6b4d961856ca3fcc4ec6e1b.tar.xz
nixpkgs-f29214caed21438df6b4d961856ca3fcc4ec6e1b.tar.zst
nixpkgs-f29214caed21438df6b4d961856ca3fcc4ec6e1b.zip
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 abcbabea596..47cf0a60c2f 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;
   };
 }