Merge pull request #138792 from aopom/fix/patchelf-link

Tree-wide link fix on patchelf's documentation
This commit is contained in:
Michele Guerini Rocco 2021-09-21 13:11:29 +02:00 committed by GitHub
commit 1536a6f2f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ A commonly adopted convention in `nixpkgs` is that executables provided by the p
The `glibc` package is a deliberate single exception to the “binaries first” convention. The `glibc` has `libs` as its first output allowing the libraries provided by `glibc` to be referenced directly (e.g. `${stdenv.glibc}/lib/ld-linux-x86-64.so.2`). The executables provided by `glibc` can be accessed via its `bin` attribute (e.g. `${stdenv.glibc.bin}/bin/ldd`).
The reason for why `glibc` deviates from the convention is because referencing a library provided by `glibc` is a very common operation among Nix packages. For instance, third-party executables packaged by Nix are typically patched and relinked with the relevant version of `glibc` libraries from Nix packages (please see the documentation on [patchelf](https://github.com/NixOS/patchelf/blob/master/README) for more details).
The reason for why `glibc` deviates from the convention is because referencing a library provided by `glibc` is a very common operation among Nix packages. For instance, third-party executables packaged by Nix are typically patched and relinked with the relevant version of `glibc` libraries from Nix packages (please see the documentation on [patchelf](https://github.com/NixOS/patchelf) for more details).
### File type groups {#multiple-output-file-type-groups}

View file

@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
doCheck = stdenv.name == "stdenv-linux";
meta = with lib; {
homepage = "https://github.com/NixOS/patchelf/blob/master/README";
homepage = "https://github.com/NixOS/patchelf";
license = licenses.gpl3;
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
maintainers = [ maintainers.eelco ];

View file

@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
doCheck = !stdenv.isDarwin;
meta = with lib; {
homepage = "https://github.com/NixOS/patchelf/blob/master/README";
homepage = "https://github.com/NixOS/patchelf";
license = licenses.gpl3;
description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
maintainers = [ maintainers.eelco ];