1
0
Fork 0
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:
Daiderd Jordan 2019-06-05 23:10:07 +02:00
parent 24089a93d7
commit d56312be06
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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