mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
* Set NIX_CONF_DIR in cronjobs. Otherwise the garbage collector won't see
the system nix.conf. svn path=/nixos/trunk/; revision=23561
This commit is contained in:
parent
0bfba4cbf5
commit
2ac462c3c7
@ -12,6 +12,7 @@ let
|
||||
SHELL=${pkgs.bash}/bin/bash
|
||||
PATH=${config.system.path}/bin:${config.system.path}/sbin
|
||||
MAILTO="${config.services.cron.mailto}"
|
||||
NIX_CONF_DIR=/nix/etc/nix
|
||||
${pkgs.lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)}
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user