diff options
| author | Michael Hoang <enzime@users.noreply.github.com> | 2023-06-20 22:54:31 +1000 |
|---|---|---|
| committer | Michael Hoang <enzime@users.noreply.github.com> | 2023-07-11 18:59:05 +1000 |
| commit | 5288a723540fdb25e34364518115e2ef32ed19ad (patch) | |
| tree | 8211ea859315c329a7e374a65cb3c738da5e7027 /modules/system/activation-scripts.nix | |
| parent | f70f90c42207ede0c3b21b785e2650beeecc161c (diff) | |
Allow flaky installation with `darwin-rebuild`
Diffstat (limited to 'modules/system/activation-scripts.nix')
| -rw-r--r-- | modules/system/activation-scripts.nix | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/system/activation-scripts.nix b/modules/system/activation-scripts.nix index d5ca292..b92a692 100644 --- a/modules/system/activation-scripts.nix +++ b/modules/system/activation-scripts.nix @@ -69,11 +69,6 @@ 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 @@ -102,6 +97,7 @@ in ${cfg.activationScripts.preUserActivation.text} + ${cfg.activationScripts.createRun.text} ${cfg.activationScripts.checks.text} ${cfg.activationScripts.extraUserActivation.text} ${cfg.activationScripts.userDefaults.text} |
