···79798080The `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`).
81818282-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).
8282+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).
83838484### File type groups {#multiple-output-file-type-groups}
8585
+1-1
pkgs/development/tools/misc/patchelf/default.nix
···2020 doCheck = stdenv.name == "stdenv-linux";
21212222 meta = with lib; {
2323- homepage = "https://github.com/NixOS/patchelf/blob/master/README";
2323+ homepage = "https://github.com/NixOS/patchelf";
2424 license = licenses.gpl3;
2525 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
2626 maintainers = [ maintainers.eelco ];
+1-1
pkgs/development/tools/misc/patchelf/unstable.nix
···2525 doCheck = !stdenv.isDarwin;
26262727 meta = with lib; {
2828- homepage = "https://github.com/NixOS/patchelf/blob/master/README";
2828+ homepage = "https://github.com/NixOS/patchelf";
2929 license = licenses.gpl3;
3030 description = "A small utility to modify the dynamic linker and RPATH of ELF executables";
3131 maintainers = [ maintainers.eelco ];