KiaraGrouwstra / nix-config

my NixOS configuration
15 stars 1 forks source link

`nixos-rebuild switch --upgrade`:Failed to parse calendar specification #50

Closed KiaraGrouwstra closed 6 years ago

KiaraGrouwstra commented 6 years ago
systemd[1]: /nix/store/...-unit-update-locatedb.timer/update-locatedb.timer:6: Failed to parse calendar specification, ignoring: 00 12 * * *
systemd[1]: update-locatedb.timer: Timer unit lacks value setting. Refusing.

There's an old issue that's a bit similar at https://github.com/NixOS/nixpkgs/issues/18593.

KiaraGrouwstra commented 6 years ago

The timer is defined here -- not sure where it's getting its bad interval param from.

KiaraGrouwstra commented 6 years ago

Seems that's part of the locate service -- time to disable that.

KiaraGrouwstra commented 6 years ago

Actually, the timestamp appears mine... apparently a systemd.time timestamp with default 02:15, example hourly vs my bad value 00 12 * * *.

KiaraGrouwstra commented 6 years ago

fixed in https://github.com/tycho01/nix-config/commit/a77bf2d9b99d47114c81f12359b0669719af66e0