From 3fca5f6c693179a2b49add54166b1a126c755264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophane=20Hufschmitt?= Date: Mon, 5 Sep 2022 14:44:01 +0200 Subject: [PATCH] Installer: Reset the timestamps in the tarball Otherwise it isn't reproducible. Fix https://github.com/NixOS/nix/issues/7001 --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 1b26460e7..cdb81179a 100644 --- a/flake.nix +++ b/flake.nix @@ -260,6 +260,7 @@ echo "file binary-dist $fn" >> $out/nix-support/hydra-build-products tar cvfJ $fn \ --owner=0 --group=0 --mode=u+rw,uga+r \ + --mtime='1970-01-01' \ --absolute-names \ --hard-dereference \ --transform "s,$TMPDIR/install,$dir/install," \