about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/patchelf/unstable.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/misc/patchelf/unstable.nix')
-rw-r--r--pkgs/development/tools/misc/patchelf/unstable.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/tools/misc/patchelf/unstable.nix b/pkgs/development/tools/misc/patchelf/unstable.nix
index 626478798658..de68a4066d7d 100644
--- a/pkgs/development/tools/misc/patchelf/unstable.nix
+++ b/pkgs/development/tools/misc/patchelf/unstable.nix
@@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
     sha256 = "1f1s8q3as3nrhcc1a8qc2z7imm644jfz44msn9sfv4mdynp2m2yb";
   };
 
+  # Drop test that fails on musl (?)
+  postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
+    substituteInPlace tests/Makefile.am \
+      --replace "set-rpath-library.sh" ""
+  '';
+
   setupHook = [ ./setup-hook.sh ];
 
   nativeBuildInputs = [ autoreconfHook ];