Skip to content

Change default date of nix store to increase compatibility? #60446

@tbenst

Description

@tbenst

Issue description

I often see problems like https://nixos.org/nixpkgs/manual/#python-setup.py-bdist_wheel-cannot-create-.whl due to the default timestamp on NixOS. It seems that dates after 1980 are widely supported across UNIX and DOS, whereas prior to 1980 is often not supported by DOS programs that are later ported to UNIX.

Given that Jan 1, 1970 is completely arbitrary and made up, can we change to the DOS date for nix store to increase compatibility? eg SOURCE_DATE_EPOCH=315532800 instead of 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions