mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +00:00
Create to daemon-socket folder during install
(cherry picked from commit 1bec333788
)
[Bjørn: This fixes Nix 2.3 multi-user/daemon installs on modern
non-NixOS distros.]
This commit is contained in:
parent
12ac3f6f28
commit
36c560552d
@ -536,7 +536,7 @@ create_directories() {
|
||||
# FIXME: remove all of this because it duplicates LocalStore::LocalStore().
|
||||
|
||||
_sudo "to make the basic directory structure of Nix (part 1)" \
|
||||
mkdir -pv -m 0755 /nix /nix/var /nix/var/log /nix/var/log/nix /nix/var/log/nix/drvs /nix/var/nix{,/db,/gcroots,/profiles,/temproots,/userpool} /nix/var/nix/{gcroots,profiles}/per-user
|
||||
mkdir -pv -m 0755 /nix /nix/var /nix/var/log /nix/var/log/nix /nix/var/log/nix/drvs /nix/var/nix{,/db,/gcroots,/profiles,/temproots,/userpool,/daemon-socket} /nix/var/nix/{gcroots,profiles}/per-user
|
||||
|
||||
_sudo "to make the basic directory structure of Nix (part 2)" \
|
||||
mkdir -pv -m 1775 /nix/store
|
||||
|
Loading…
Reference in New Issue
Block a user