From 36c560552d864968e8f6974e495727f3f5b96e13 Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Thu, 17 Feb 2022 09:32:15 +0100 Subject: [PATCH] Create to daemon-socket folder during install MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 1bec333788df9b1c9d9c68a428cfc79568d87cf2) [Bjørn: This fixes Nix 2.3 multi-user/daemon installs on modern non-NixOS distros.] --- scripts/install-multi-user.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install-multi-user.sh b/scripts/install-multi-user.sh index 5db97cd2ab5..9eb188ffab3 100644 --- a/scripts/install-multi-user.sh +++ b/scripts/install-multi-user.sh @@ -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