1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-09 03:56:01 +01:00

docs, messages: Resolve nixos.org/manual/nix/stable redirect

Loads a bit quicker
This commit is contained in:
Robert Hensing 2025-07-25 10:09:22 +02:00
parent 35835e0644
commit b7782809cb
4 changed files with 7 additions and 7 deletions

View file

@ -48,6 +48,6 @@
* `nix run` is now stricter in what it accepts: members of the `apps` * `nix run` is now stricter in what it accepts: members of the `apps`
flake output are now required to be apps (as defined in [the flake output are now required to be apps (as defined in [the
manual](https://nixos.org/manual/nix/stable/command-ref/new-cli/nix3-run.html#apps)), manual](https://nix.dev/manual/nix/stable/command-ref/new-cli/nix3-run.html#apps)),
and members of `packages` or `legacyPackages` must be derivations and members of `packages` or `legacyPackages` must be derivations
(not apps). (not apps).

View file

@ -40,7 +40,7 @@ fi
# Determine if we could use the multi-user installer or not # Determine if we could use the multi-user installer or not
if [ "$(uname -s)" = "Linux" ]; then if [ "$(uname -s)" = "Linux" ]; then
echo "Note: a multi-user installation is possible. See https://nixos.org/manual/nix/stable/installation/installing-binary.html#multi-user-installation" >&2 echo "Note: a multi-user installation is possible. See https://nix.dev/manual/nix/stable/installation/installing-binary.html#multi-user-installation" >&2
fi fi
case "$(uname -s)" in case "$(uname -s)" in
@ -96,7 +96,7 @@ while [ $# -gt 0 ]; do
echo " providing multi-user support and better isolation for local builds." echo " providing multi-user support and better isolation for local builds."
echo " Both for security and reproducibility, this method is recommended if" echo " Both for security and reproducibility, this method is recommended if"
echo " supported on your platform." echo " supported on your platform."
echo " See https://nixos.org/manual/nix/stable/installation/installing-binary.html#multi-user-installation" echo " See https://nix.dev/manual/nix/stable/installation/installing-binary.html#multi-user-installation"
echo "" echo ""
echo " --no-daemon: Simple, single-user installation that does not require root and is" echo " --no-daemon: Simple, single-user installation that does not require root and is"
echo " trivial to uninstall." echo " trivial to uninstall."
@ -144,7 +144,7 @@ if ! [ -e "$dest" ]; then
fi fi
if ! [ -w "$dest" ]; then if ! [ -w "$dest" ]; then
echo "$0: directory $dest exists, but is not writable by you. This could indicate that another user has already performed a single-user installation of Nix on this system. If you wish to enable multi-user support see https://nixos.org/manual/nix/stable/installation/multi-user.html. If you wish to continue with a single-user install for $USER please run 'chown -R $USER $dest' as root." >&2 echo "$0: directory $dest exists, but is not writable by you. This could indicate that another user has already performed a single-user installation of Nix on this system. If you wish to enable multi-user support see https://nix.dev/manual/nix/stable/installation/multi-user.html. If you wish to continue with a single-user install for $USER please run 'chown -R $USER $dest' as root." >&2
exit 1 exit 1
fi fi

View file

@ -57,14 +57,14 @@ nix_err nix_libstore_init_no_load_config(nix_c_context * context);
* ignores `NIX_REMOTE` and the `store` option. For this reason, `NULL` is most likely the better choice. * ignores `NIX_REMOTE` and the `store` option. For this reason, `NULL` is most likely the better choice.
* *
* For supported store URLs, see [*Store URL format* in the Nix Reference * For supported store URLs, see [*Store URL format* in the Nix Reference
* Manual](https://nixos.org/manual/nix/stable/store/types/#store-url-format). * Manual](https://nix.dev/manual/nix/stable/store/types/#store-url-format).
* @endparblock * @endparblock
* *
* @param[in] params @parblock * @param[in] params @parblock
* optional, null-terminated array of key-value pairs, e.g. {{"endpoint", * optional, null-terminated array of key-value pairs, e.g. {{"endpoint",
* "https://s3.local"}}. * "https://s3.local"}}.
* *
* See [*Store Types* in the Nix Reference Manual](https://nixos.org/manual/nix/stable/store/types). * See [*Store Types* in the Nix Reference Manual](https://nix.dev/manual/nix/stable/store/types).
* @endparblock * @endparblock
* *
* @return a Store pointer, NULL in case of errors * @return a Store pointer, NULL in case of errors

View file

@ -44,7 +44,7 @@ R""(
Nix is a tool for building software, configurations and other Nix is a tool for building software, configurations and other
artifacts in a reproducible and declarative way. For more information, artifacts in a reproducible and declarative way. For more information,
see the [Nix homepage](https://nixos.org/) or the [Nix see the [Nix homepage](https://nixos.org/) or the [Nix
manual](https://nixos.org/manual/nix/stable/). manual](https://nix.dev/manual/nix/stable/).
# Installables # Installables