Adjust patchelfUnstable to patchelf derivation layout
This commit is contained in:
parent
0611b32e92
commit
59bed0a7b3
@ -13,10 +13,6 @@ stdenv.mkDerivation rec {
|
|||||||
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
|
postPatch = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||||
substituteInPlace tests/Makefile.am \
|
substituteInPlace tests/Makefile.am \
|
||||||
--replace "set-rpath-library.sh" ""
|
--replace "set-rpath-library.sh" ""
|
||||||
'' +
|
|
||||||
# extend version identifier to more informative than "0.10".
|
|
||||||
''
|
|
||||||
echo -n ${version} > version
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
setupHook = [ ./setup-hook.sh ];
|
setupHook = [ ./setup-hook.sh ];
|
||||||
@ -26,11 +22,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://nixos.org/patchelf.html;
|
homepage = https://nixos.org/patchelf.html;
|
||||||
license = "GPL";
|
license = licenses.gpl3;
|
||||||
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
|
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
|
||||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
maintainers = [ maintainers.eelco ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user