diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-27 20:47:10 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-27 20:48:12 +0100 |
commit | bf9c57fc4953f751ea36e16f6c672347cd43df99 (patch) | |
tree | 9ef799739077c9c436ada87311593b291158cbb7 /nixos/modules | |
parent | d4636fa2548a1980b3541dd386b6977c56218964 (diff) | |
download | nixlib-bf9c57fc4953f751ea36e16f6c672347cd43df99.tar nixlib-bf9c57fc4953f751ea36e16f6c672347cd43df99.tar.gz nixlib-bf9c57fc4953f751ea36e16f6c672347cd43df99.tar.bz2 nixlib-bf9c57fc4953f751ea36e16f6c672347cd43df99.tar.lz nixlib-bf9c57fc4953f751ea36e16f6c672347cd43df99.tar.xz nixlib-bf9c57fc4953f751ea36e16f6c672347cd43df99.tar.zst nixlib-bf9c57fc4953f751ea36e16f6c672347cd43df99.zip |
Improve services.locate.period deprecation message
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/misc/locate.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/misc/locate.nix b/nixos/modules/misc/locate.nix index 318b81ca07c2..5b560cedc623 100644 --- a/nixos/modules/misc/locate.nix +++ b/nixos/modules/misc/locate.nix @@ -67,7 +67,9 @@ in { }; config = { - warnings = let opt = options.services.locate.period; in optional opt.isDefined "The `period` definition in ${showFiles opt.files} has been removed; please replace it with `interval`, using the new systemd.time interval specifier."; + warnings = + let opt = options.services.locate.period; in + optional opt.isDefined "The ‘services.locate.period’ option in ${showFiles opt.files} has been removed; please replace it with ‘services.locate.interval’, using the systemd.time(7) calendar event format."; systemd.services.update-locatedb = { description = "Update Locate Database"; |