Remove some redundant initialization

This commit is contained in:
Eelco Dolstra 2019-10-09 18:05:42 +02:00
parent 5a303093dc
commit c43d9f6131
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -448,12 +448,6 @@ create_directories() {
_sudo "to make the basic directory structure of Nix (part 3)" \ _sudo "to make the basic directory structure of Nix (part 3)" \
chgrp "$NIX_BUILD_GROUP_NAME" /nix/store chgrp "$NIX_BUILD_GROUP_NAME" /nix/store
_sudo "to set up the root user's profile (part 1)" \
mkdir -pv -m 0755 /nix/var/nix/profiles/per-user/root
_sudo "to set up the root user's profile (part 2)" \
mkdir -pv -m 0700 "$ROOT_HOME/.nix-defexpr"
_sudo "to place the default nix daemon configuration (part 1)" \ _sudo "to place the default nix daemon configuration (part 1)" \
mkdir -pv -m 0555 /etc/nix mkdir -pv -m 0555 /etc/nix
} }