nix-daemon.nix: Shut up warning

This commit is contained in:
Eelco Dolstra 2019-10-09 23:14:20 +02:00
parent 27d2857a99
commit 9d0de0dc57
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -446,7 +446,7 @@ in
system.activationScripts.nix = stringAfter [ "etc" "users" ] system.activationScripts.nix = stringAfter [ "etc" "users" ]
'' ''
# Create directories in /nix. # Create directories in /nix.
${nix}/bin/nix ping-store ${nix}/bin/nix ping-store --no-net
# Subscribe the root user to the NixOS channel by default. # Subscribe the root user to the NixOS channel by default.
if [ ! -e "/root/.nix-channels" ]; then if [ ! -e "/root/.nix-channels" ]; then