mirror of
https://github.com/NixOS/nix.git
synced 2025-10-19 19:53:41 +08:00
Remove some redundant initialization
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user