mirror of
https://github.com/NixOS/nix
synced 2025-07-07 18:31:49 +02: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue