diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-09-22 20:28:58 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-09-22 20:29:41 +0200 |
commit | e6c02cc4b4c96207661c722f24667a8ab3607ce2 (patch) | |
tree | a6e896165731277b59d08aa6fef15418cc4481ca /doc | |
parent | 2505488672158a0ff136df263bbc63abdfa347d3 (diff) |
nixpkgs/doc/glibc: better glibc link
also replace unicode symbol in case some environment cannot reproduce the encoding or font symbol.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/builders/packages/etc-files.section.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/builders/packages/etc-files.section.md b/doc/builders/packages/etc-files.section.md index 0b83793835911..2405a54634d89 100644 --- a/doc/builders/packages/etc-files.section.md +++ b/doc/builders/packages/etc-files.section.md @@ -6,12 +6,13 @@ On non-NixOS distributions these files are typically provided by packages (i.e. If [iana-etc](https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.iana-etc.x86_64-linux) is part of your _buildInputs_ then it will set the environment varaibles `NIX_ETC_PROTOCOLS` and `NIX_ETC_SERVICES` to the corresponding files in the package through a _setup-hook_. + ```bash -❯ nix-shell -p iana-etc +> nix-shell -p iana-etc [nix-shell:~]$ env | grep NIX_ETC NIX_ETC_SERVICES=/nix/store/aj866hr8fad8flnggwdhrldm0g799ccz-iana-etc-20210225/etc/services NIX_ETC_PROTOCOLS=/nix/store/aj866hr8fad8flnggwdhrldm0g799ccz-iana-etc-20210225/etc/protocols ``` -Nixpkg's version of [glibc](https://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.glibc.x86_64-linux) has been patched to check for the existence of these environment variables. If the environment variable are *not set*, then it will attempt to find the files at the default location within _/etc_. +Nixpkg's version of [glibc](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/glibc/default.nix) has been patched to check for the existence of these environment variables. If the environment variable are *not set*, then it will attempt to find the files at the default location within _/etc_. |