@@ -1,27 +1,16 @@
1−{ stdenv, fetchurl, autoreconfHook }:
1+{ stdenv, fetchurl }:
22
33stdenv.mkDerivation rec {
4− name = "patchelf-${version}";
5− version = "0.10";
4+ name = "patchelf-0.9";
65
76 src = fetchurl {
87 url = "https://nixos.org/releases/patchelf/${name}/${name}.tar.bz2";
9− sha256 = "1wzwvnlyf853hw9zgqq5522bvf8gqadk8icgqa41a5n7593csw7n";
8+ sha256 = "a0f65c1ba148890e9f2f7823f4bedf7ecad5417772f64f994004f59a39014f83";
109 };
1110
12− # Drop test that fails on musl (?)
13− postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
14− substituteInPlace tests/Makefile.am \
15− --replace "set-rpath-library.sh" ""
16− '';
17−
1811 setupHook = [ ./setup-hook.sh ];
1912
20− nativeBuildInputs = [ autoreconfHook ];
21− buildInputs = [ ];
22−
23− # if not Musl, fails 8 out of 25 tests, problems when loading libc.so.6
24− doCheck = stdenv.hostPlatform.isMusl;
13+ doCheck = false; # fails 8 out of 24 tests, problems when loading libc.so.6
2514
2615 meta = with stdenv.lib; {
2716 homepage = https://nixos.org/patchelf.html;