install multiuser Nix (--daemon)
continuous-integration/drone/push Build is failing Details

hetzner-flakes
Alexander Tomokhov 2023-11-18 07:58:53 +04:00
parent db7dd2cff8
commit 5c9a185238
1 changed files with 1 additions and 4 deletions

View File

@ -263,7 +263,7 @@ installNix() {
fi fi
echo "Running nix installer..." echo "Running nix installer..."
if $SHELL "${tmpNixInstall}"; then if $SHELL "${tmpNixInstall}" --daemon; then
echo "Nix is installed" echo "Nix is installed"
rm "${tmpNixInstall}" rm "${tmpNixInstall}"
else else
@ -348,9 +348,6 @@ set -o nounset
set -o xtrace set -o xtrace
set -o errexit set -o errexit
add-apt-repository --remove multiverse
add-apt-repository --remove universe
add-apt-repository --remove restricted
apt update apt update
apt install -y git tar wget curl jq apt install -y git tar wget curl jq
checkEnv checkEnv