summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorMichael Hoang <enzime@users.noreply.github.com>2023-06-09 15:25:55 +1000
committerMichael Hoang <enzime@users.noreply.github.com>2023-06-09 15:25:55 +1000
commit1ba9ae3d217c2285909232d635caeaf0e16ecd54 (patch)
treec37660915ee3701f7872ea2eced20eb3ee8f5daf /pkgs
parent40e4b85baac86969f94d6dba893aeae015c562c1 (diff)
darwin-installer: fix `/run` not getting created
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/darwin-installer/installer.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/darwin-installer/installer.nix b/pkgs/darwin-installer/installer.nix
index 1c58976..485441b 100644
--- a/pkgs/darwin-installer/installer.nix
+++ b/pkgs/darwin-installer/installer.nix
@@ -40,8 +40,8 @@ with lib;
if ! grep -q '^run\b' /etc/synthetic.conf 2>/dev/null; then
echo "setting up /run via /etc/synthetic.conf..."
echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf >/dev/null
- /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B &>/dev/null || true
- /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t &>/dev/null || true
+ sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -B &>/dev/null || true
+ sudo /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t &>/dev/null || true
if ! test -L /run; then
echo "warning: apfs.util failed to symlink /run"
fi