-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.6.topic: TeXIssues regarding texlive and TeX in generalIssues regarding texlive and TeX in general6.topic: reproducible buildsRun nix-build twice and get the same result.Run nix-build twice and get the same result.
Description
Building this package twice does not produce the bit-by-bit identical result each time, making it harder to detect CI breaches. You can read more about this at https://reproducible-builds.org/ .
Steps To Reproduce
nix-build '<nixpkgs>' -A texlive.combined.scheme-basic --check --keep-failed
You can use diffoscope to analyze the differences in the output of the two builds.
To view the build log of the build that produced the artifact in the binary cache:
nix-store --read-log $(nix-instantiate '<nixpkgs>' -A texlive.combined.scheme-basic)
Additional context
Tested on nixpkgs e8a0af93710b18a99c9450301ea47403c3ebb238
Notably the ordering of the words in share/texmf-var/web2c/luahbtex/luahbtex.fmt and similar seem nondeterministic, perhaps the other differences are effects of that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: enhancementAdd something new or improve an existing system.Add something new or improve an existing system.6.topic: TeXIssues regarding texlive and TeX in generalIssues regarding texlive and TeX in general6.topic: reproducible buildsRun nix-build twice and get the same result.Run nix-build twice and get the same result.