aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-01-31 15:16:24 +0100
committerGitHub <noreply@github.com>2018-01-31 15:16:24 +0100
commit8af911be5ccb11f05615451fc7e90377ede7fba7 (patch)
treecd5fa34403df22b9e035093403ba9ccbbee21cc6
parent30370f168fef6fd1dd2e888a680e3cabbb7215c1 (diff)
parent9f9393df5504c43be95df55ed1c5d5a90ea214a2 (diff)
Merge pull request #1825 from giorgiga/master
Fix macOS installation when umask disallow public read (solves #1582)
-rw-r--r--scripts/install-darwin-multi-user.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install-darwin-multi-user.sh b/scripts/install-darwin-multi-user.sh
index 2e9d368c0..8d59c1c2b 100644
--- a/scripts/install-darwin-multi-user.sh
+++ b/scripts/install-darwin-multi-user.sh
@@ -695,7 +695,7 @@ install_from_extracted_nix() {
cd "$EXTRACTED_NIX_PATH"
_sudo "to copy the basic Nix files to the new store at $NIX_ROOT/store" \
- rsync -rlpt "$(pwd)/store/" "$NIX_ROOT/store/"
+ rsync -rlpt ./store/* "$NIX_ROOT/store/"
if [ -d "$NIX_INSTALLED_NIX" ]; then
echo " Alright! We have our first nix at $NIX_INSTALLED_NIX"