forked from mirrors/nixpkgs
patchelf_0_13: init at 0.13.1
The C++ compiler in our musl bootstrap for aarch64 is too old to build the latest version of patchelf, so introduce a package for the most recent version it's capable of building that we can use to get a new bootstrap.
This commit is contained in:
parent
d4ad218f88
commit
3838a0a7e7
18
pkgs/development/tools/misc/patchelf/0.13.nix
Normal file
18
pkgs/development/tools/misc/patchelf/0.13.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, fetchurl, patchelf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "patchelf";
|
||||
version = "0.13.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/NixOS/${pname}/releases/download/${version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-OeiuzNdJXVTfCU0rSnwIAQ/3d3A2+q8k8o4Hd30VmOI=";
|
||||
};
|
||||
|
||||
setupHook = [ ./setup-hook.sh ];
|
||||
|
||||
# fails 8 out of 24 tests, problems when loading libc.so.6
|
||||
doCheck = stdenv.name == "stdenv-linux";
|
||||
|
||||
inherit (patchelf) meta;
|
||||
}
|
|
@ -15801,6 +15801,7 @@ with pkgs;
|
|||
|
||||
patchelf = callPackage ../development/tools/misc/patchelf { };
|
||||
patchelf_0_9 = callPackage ../development/tools/misc/patchelf/0.9.nix { };
|
||||
patchelf_0_13 = callPackage ../development/tools/misc/patchelf/0.13.nix { };
|
||||
|
||||
patchelfUnstable = lowPrio (callPackage ../development/tools/misc/patchelf/unstable.nix { });
|
||||
|
||||
|
|
Loading…
Reference in a new issue