mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 04:05:40 +03:00
Instead use the one provided by upstream. This will make it easier to upgrade Nix in the future and also aligns our Nix setup with what is documented in upstream's Nix Manual. Also note that for multi-user setups utilizing nix-daemon we need to use the etc/profile.d/nix-daemon.sh file, not etc/profile.d/nix.sh. See https://github.com/NixOS/nix/issues/5848
6 lines
311 B
Bash
6 lines
311 B
Bash
# The Alpine nix package uses the multi-user setup.
|
|
# For this purpose, nix-daemon needs be started via OpenRC.
|
|
# This file tells nix to use nix-daemon for unprivileged users.
|
|
#
|
|
# See https://github.com/NixOS/nix/blob/1d0a7b/doc/manual/src/installation/multi-user.md#running-the-daemon
|
|
export NIX_REMOTE=daemon
|