1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

formatting

This commit is contained in:
Daiderd Jordan 2018-01-17 00:39:02 +01:00
parent f8353f2336
commit 2aeaa86bc7
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

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