nixos-config/pkgs/vgc/patches/set-reproducible-build.patch
Gabriel Arazas e8d52088ff
vgc: unstable-2022-08-27 -> unstable-2023-02-05
Also, mark it as not broken though it is not properly packaged yet since
the executables are not even included.
2023-02-05 16:25:59 +08:00

16 lines
663 B
Diff

diff --git a/tools/version.py b/tools/version.py
index feb53ce..6f03c85 100644
--- a/tools/version.py
+++ b/tools/version.py
@@ -320,8 +320,8 @@ if __name__ == "__main__":
res += "buildCompilerVersion=" + buildCompilerVersion + "\n"
res += "buildArchitecture=" + buildArchitecture + "\n"
res += "buildConfig=" + buildConfig + "\n"
- res += "buildDate=" + now.date().isoformat() + "\n"
- res += "buildTime=" + now.time().isoformat(timespec="seconds") + "\n"
+ res += "buildDate=" + "1970-01-01" + "\n"
+ res += "buildTime=" + "00:00:00" + "\n"
# Write to file
versionDir = Path(buildDir) / buildConfig / "resources" / "core"