mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-15 17:51:01 +00:00
activation-scripts: create /run
In case this was removed or not bootstrapped by the installer.
This commit is contained in:
parent
24089a93d7
commit
d56312be06
1 changed files with 5 additions and 0 deletions
|
@ -68,6 +68,11 @@ in
|
|||
|
||||
${cfg.activationScripts.postActivation.text}
|
||||
|
||||
# Ensure /run exists.
|
||||
if [ ! -e /run ]; then
|
||||
ln -sfn private/var/run /run
|
||||
fi
|
||||
|
||||
# Make this configuration the current configuration.
|
||||
# The readlink is there to ensure that when $systemConfig = /system
|
||||
# (which is a symlink to the store), /run/current-system is still
|
||||
|
|
Loading…
Reference in a new issue