NixOS / nix.dev

Official documentation for getting things done with Nix.

Home Page:https://nix.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Copyright date incorrect

boseiju opened this issue · comments

Hey,

The following string is currently displayed in the footer on every page:

© Copyright 2016-1980, NixOS Foundation.

The source looks like it should provide an accurate date:

from datetime import date

copyright = "2016-" + str(date.today().year) + ", NixOS Foundation"

Is this perhaps an infrastructure issue causing the date to be set inaccurately?

@boseiju I believe this is one of the things the Nix build environment does to reduce source of impurities. I think we should just hardcode it and have someone update the copyright year as an annual task.

We should be able to close this now with #800 being merged.