1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

checks: fix gc condition

Don't fail if the user is configured properly.
This commit is contained in:
Daiderd Jordan 2019-01-03 19:29:49 +01:00
parent 918492f3ef
commit 28710738a3
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -171,7 +171,7 @@ in
runLink runLink
(mkIf config.services.nix-daemon.enable buildUsers) (mkIf config.services.nix-daemon.enable buildUsers)
nixStore nixStore
(mkIf config.nix.gc.automatic nixGarbageCollector) (mkIf (config.nix.gc.automatic && config.nix.user != null) nixGarbageCollector)
nixChannels nixChannels
nixInstaller nixInstaller
(mkIf cfg.verifyNixPath nixPath) (mkIf cfg.verifyNixPath nixPath)