mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
formatting
This commit is contained in:
parent
f8353f2336
commit
2aeaa86bc7
1 changed files with 3 additions and 3 deletions
|
@ -379,14 +379,14 @@ in
|
|||
|
||||
system.activationScripts.nix.text = mkIf cfg.distributedBuilds ''
|
||||
if [ ! -d ${cfg.envVars.NIX_CURRENT_LOAD} ]; then
|
||||
mkdir -p ${cfg.envVars.NIX_CURRENT_LOAD}
|
||||
mkdir -p ${cfg.envVars.NIX_CURRENT_LOAD}
|
||||
fi
|
||||
'';
|
||||
|
||||
system.activationScripts.nix-daemon.text = mkIf cfg.useDaemon ''
|
||||
if ! diff /etc/nix/nix.conf /run/current-system/etc/nix/nix.conf &> /dev/null; then
|
||||
echo "reloading nix-daemon..." >&2
|
||||
pkill -HUP nix-daemon
|
||||
echo >&2 "reloading nix-daemon..."
|
||||
pkill -HUP nix-daemon
|
||||
fi
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue