Use SOURCE_DATE_EPOCH with GNU install
David Kleuker
post at davidak.de
Mon Jul 20 09:47:37 UTC 2020
Hello,
i compared 2 installed packages and found out that the creation time differ.
They are created with GNU install. https://github.com/NixOS/nixpkgs/blob/ae38220281e1a968af1fd48206dd9358c7917168/pkgs/data/fonts/agave/default.nix
How can i set that to SOURCE_DATE_EPOCH?
That's probably the most basic question, but i found no answer on the internet and don't know how to search a mailing list. A Discourse forum would be more accessible.
kind regards
davidak
-----
[davidak at nixos:~]$ diffoscope /nix/store/cwmpm1kk3pfw1d5x5wfv691fw378gsjl-agave-16 /nix/store/8p0bn5y6nlcrkclz4vz4rxjycs2imiwl-agave-16
--- /nix/store/cwmpm1kk3pfw1d5x5wfv691fw378gsjl-agave-16
+++ /nix/store/8p0bn5y6nlcrkclz4vz4rxjycs2imiwl-agave-16
├── stat {}
│ @@ -1,7 +1,7 @@
│
│ Size: 4096 Blocks: 8 IO Block: 4096 directory
│ Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│
│ Modify: 1970-01-01 00:00:01.000000000 +0000
│
│ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ + Birth: 2020-07-20 08:47:51.046971751 +0000
├── share
│ ├── stat {}
│ │ @@ -1,7 +1,7 @@
│ │
│ │ Size: 4096 Blocks: 8 IO Block: 4096 directory
│ │ Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│ │
│ │ Modify: 1970-01-01 00:00:01.000000000 +0000
│ │
│ │ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ │ + Birth: 2020-07-20 08:47:51.046971751 +0000
│ ├── fonts
│ │ ├── stat {}
│ │ │ @@ -1,7 +1,7 @@
│ │ │
│ │ │ Size: 4096 Blocks: 8 IO Block: 4096 directory
│ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│ │ │
│ │ │ Modify: 1970-01-01 00:00:01.000000000 +0000
│ │ │
│ │ │ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ │ │ + Birth: 2020-07-20 08:47:51.046971751 +0000
│ │ ├── truetype
│ │ │ ├── stat {}
│ │ │ │ @@ -1,7 +1,7 @@
│ │ │ │
│ │ │ │ Size: 4096 Blocks: 8 IO Block: 4096 directory
│ │ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│ │ │ │
│ │ │ │ Modify: 1970-01-01 00:00:01.000000000 +0000
│ │ │ │
│ │ │ │ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ │ │ │ + Birth: 2020-07-20 08:47:51.046971751 +0000
│ │ │ │ --- /nix/store/cwmpm1kk3pfw1d5x5wfv691fw378gsjl-agave-16/share/fonts/truetype/Agave-Regular.ttf
│ │ │ ├── +++ /nix/store/8p0bn5y6nlcrkclz4vz4rxjycs2imiwl-agave-16/share/fonts/truetype/Agave-Regular.ttf
│ │ │ │ ├── stat {}
│ │ │ │ │ @@ -1,7 +1,7 @@
│ │ │ │ │
│ │ │ │ │ Size: 192492 Blocks: 376 IO Block: 4096 regular file
│ │ │ │ │ Access: (0555/-r-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│ │ │ │ │
│ │ │ │ │ Modify: 1970-01-01 00:00:01.000000000 +0000
│ │ │ │ │
│ │ │ │ │ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ │ │ │ │ + Birth: 2020-07-20 08:47:51.047971757 +0000
│ │ │ ├── stat {}
│ │ │ │ @@ -1,7 +1,7 @@
│ │ │ │
│ │ │ │ Size: 4096 Blocks: 8 IO Block: 4096 directory
│ │ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│ │ │ │
│ │ │ │ Modify: 1970-01-01 00:00:01.000000000 +0000
│ │ │ │
│ │ │ │ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ │ │ │ + Birth: 2020-07-20 08:47:51.046971751 +0000
│ │ ├── stat {}
│ │ │ @@ -1,7 +1,7 @@
│ │ │
│ │ │ Size: 4096 Blocks: 8 IO Block: 4096 directory
│ │ │ Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│ │ │
│ │ │ Modify: 1970-01-01 00:00:01.000000000 +0000
│ │ │
│ │ │ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ │ │ + Birth: 2020-07-20 08:47:51.046971751 +0000
│ ├── stat {}
│ │ @@ -1,7 +1,7 @@
│ │
│ │ Size: 4096 Blocks: 8 IO Block: 4096 directory
│ │ Access: (0555/dr-xr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
│ │
│ │ Modify: 1970-01-01 00:00:01.000000000 +0000
│ │
│ │ - Birth: 2020-07-20 09:02:11.688603176 +0000
│ │ + Birth: 2020-07-20 08:47:51.046971751 +0000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20200720/05f6b4b9/attachment.htm>
More information about the rb-general
mailing list