Nixpkgs: texlive.combine results in non-reproducible derivation

Created on 5 Nov 2020  路  1Comment  路  Source: NixOS/nixpkgs

Describe the bug

Using texlive.combine results in non-reproducible derivation.

To Reproduce

Content of tex.nix:

{ nixpkgs ? import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/4c817f9d6e6a4e6ddb0c51dcb093a8e70adaf5c4.tar.gz") {} }:
nixpkgs.texlive.combine {
    inherit (nixpkgs.texlive) scheme-small xpatch phonenumbers helvetic supertabular booktabs xtab xecjk;
  }

The SHA was master as of today 2020/11/5 12:45.

First

nix-build tex.nix

and then

nix-build --check tex.nix

results in

...
Wrapping './bin/tlshell' Warning: unknown shebang '/usr/bin/env wish' in '/nix/store/ssqlggvl0zvv5wldmybj80dj54kgbgv2-texlive-tlshell-56461/scripts/tlshell/tlshell.tcl'
Wrapping './bin/updmap-user' and patching shebang '/bin/sh'
derivation '/nix/store/bsi2f3qjvzh3699jrhwmz7jp3scz5rb4-texlive-combined-2020.drv' may not be deterministic: output '/nix/store/fjb02b46nq25iaw1vq9139lz3a2sjw18-texlive-combined-2020' differs
error: build of '/nix/store/bsi2f3qjvzh3699jrhwmz7jp3scz5rb4-texlive-combined-2020.drv' failed

Expected behavior
Getting a reproducible derivation.

Notify maintainers
@vcunat @veprbl @lovek323 @jwiegley

bug TeX reproducible builds

Most helpful comment

diff -r of the derivation with its check from nix-build -K --check tex.nix attached.
diff.nix-build.K.check.tex.nix.txt

>All comments

diff -r of the derivation with its check from nix-build -K --check tex.nix attached.
diff.nix-build.K.check.tex.nix.txt

Was this page helpful?
0 / 5 - 0 ratings

Related issues

langston-barrett picture langston-barrett  路  3Comments

ghost picture ghost  路  3Comments

lverns picture lverns  路  3Comments

edolstra picture edolstra  路  3Comments

domenkozar picture domenkozar  路  3Comments