about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-06-13T16·30+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-06-13T16·30+0000
commit14bc3ce3d6d5745717fa19b8b43b5fdd117ff757 (patch)
tree0b9cc8b99864046e037ac9e5dacf106980a789b0 /doc
parentf24cf5d303dac3e82068f80091d2f312455ba8cf (diff)
* Canonicalise timestamps in the Nix store to 1 (1970-01-01 00:00:01
  UTC) rather than 0 (00:00:00).  1 is a better choice because some
  programs use 0 as a special value.  For instance, the Template
  Toolkit uses a timestamp of 0 to denote the non-existence of a file,
  so it barfs on files in the Nix store (see
  template-toolkit-nix-store.patch in Nixpkgs).  Similarly, Maya 2008
  fails to load script directories with a timestamp of 0 and can't be
  patched because it's closed source.

  This will also shut up those "implausibly old time stamp" GNU tar
  warnings.

Diffstat (limited to 'doc')
-rw-r--r--doc/manual/writing-nix-expressions.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/writing-nix-expressions.xml b/doc/manual/writing-nix-expressions.xml
index aca5c7c6ca..1151b0f33a 100644
--- a/doc/manual/writing-nix-expressions.xml
+++ b/doc/manual/writing-nix-expressions.xml
@@ -1432,7 +1432,7 @@ command-line argument.  See <xref linkend='sec-standard-environment'
   inputs.</para></listitem>
 
   <listitem><para>After the build, Nix sets the last-modified
-  timestamp on all files in the build result to 0 (00:00:00 1/1/1970
+  timestamp on all files in the build result to 1 (00:00:01 1/1/1970
   UTC), sets the group to the default group, and sets the mode of the
   file to 0444 or 0555 (i.e., read-only, with execute permission
   enabled if the file was originally executable).  Note that possible