summary refs log tree commit diff
path: root/pkgs/development/tools/misc
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-08-08 21:10:14 +0000
committerJan Malakhovski <oxij@oxij.org>2018-08-11 09:35:31 +0000
commit7e4c44222de928ce3a203149fa107bf2692ae095 (patch)
tree858095a5d9984e952b17f5d8096f59f7ea4878e8 /pkgs/development/tools/misc
parent9b95dd8e3c1142f2072c13b38b292b170ab6340e (diff)
downloadnixlib-7e4c44222de928ce3a203149fa107bf2692ae095.tar
nixlib-7e4c44222de928ce3a203149fa107bf2692ae095.tar.gz
nixlib-7e4c44222de928ce3a203149fa107bf2692ae095.tar.bz2
nixlib-7e4c44222de928ce3a203149fa107bf2692ae095.tar.lz
nixlib-7e4c44222de928ce3a203149fa107bf2692ae095.tar.xz
nixlib-7e4c44222de928ce3a203149fa107bf2692ae095.tar.zst
nixlib-7e4c44222de928ce3a203149fa107bf2692ae095.zip
elfutils: make tests run, but disable. A bit spooky!
Diffstat (limited to 'pkgs/development/tools/misc')
-rw-r--r--pkgs/development/tools/misc/elfutils/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/elfutils/default.nix b/pkgs/development/tools/misc/elfutils/default.nix
index e067c0a669be..85adf73ed2ac 100644
--- a/pkgs/development/tools/misc/elfutils/default.nix
+++ b/pkgs/development/tools/misc/elfutils/default.nix
@@ -10,7 +10,11 @@ stdenv.mkDerivation rec {
     sha256 = "1zq0l12k64hrbjmdjc4llrad96c25i427hpma1id9nk87w9qqvdp";
   };
 
-  patches = ./debug-info-from-env.patch;
+  patches = [ ./debug-info-from-env.patch ];
+
+  postPatch = ''
+    patchShebangs tests
+  '';
 
   hardeningDisable = [ "format" ];
 
@@ -63,6 +67,9 @@ stdenv.mkDerivation rec {
     cp version.h $out/include
   '';
 
+  doCheck = false; # fails 3 out of 174 tests
+  doInstallCheck = false; # fails 70 out of 174 tests
+
   meta = {
     homepage = https://sourceware.org/elfutils/;
     description = "A set of utilities to handle ELF objects";