1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 04:05:40 +03:00
aports/testing/nix/nix-remote.sh
Sören Tempel b71e01bfb4 testing/nix: don't install a custom profile file
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
2023-07-04 17:33:52 +00:00

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