You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I use tzupdate to update my time zone, it will always throws and error like this:
Traceback (most recent call last):
File "/nix/store/5gzd9y9i5kd3y7g1l0m4addf7zmkzjqr-tzupdate-2.0.0/bin/.tzupdate-wrapped", line 9, in <module>
sys.exit(main())
File "/nix/store/5gzd9y9i5kd3y7g1l0m4addf7zmkzjqr-tzupdate-2.0.0/lib/python3.8/site-packages/tzupdate.py", line 289, in main
link_localtime(timezone, args.zoneinfo_path, args.localtime_path)
File "/nix/store/5gzd9y9i5kd3y7g1l0m4addf7zmkzjqr-tzupdate-2.0.0/lib/python3.8/site-packages/tzupdate.py", line 170, in link_localtime
raise TimezoneNotLocallyAvailableError(
tzupdate.TimezoneNotLocallyAvailableError: Timezone "Europe/Berlin" requested, but this timezone is not available on your operating system.
Thanks, I didn't know about the service. Honestly I think this is not a good user experience.
The service is basically just a wrapper to make the package work under nixos.
It would be better if the package would just work under nixos by default.
The package could be patched/wrapped directly and the service wouldn't be needed anymore, reducing potential confusion.
sure but people would be confused about why it doesn't work and probably reports "permission denied" because they have time.timeZone set
# We need to have imperative time zone management for this to work.
# This will give users an error if they have set an explicit time
# zone, which is better than silently overriding it.
time.timeZone = null;
Describe the bug
When I use tzupdate to update my time zone, it will always throws and error like this:
Notify maintainers
@michaelpj
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: