Describe the bug
texlive.combine fails to build
To Reproduce
$ nix-shell -p 'texlive.combine { }'
these derivations will be built:
/nix/store/x19ks22ag712scj1jl0jp8vqwf2rcpr8-texlive-combined-2019.drv
building '/nix/store/x19ks22ag712scj1jl0jp8vqwf2rcpr8-texlive-combined-2019.drv'...
created 1 symlinks in user environment
/nix/store/bd3xj2p79zrqkz9xr8daq6752avvv90f-stdenv-linux/setup: line 1304: cd: ./share/texmf/web2c/: No such file or directory
builder for '/nix/store/x19ks22ag712scj1jl0jp8vqwf2rcpr8-texlive-combined-2019.drv' failed with exit code 1
error: build of '/nix/store/x19ks22ag712scj1jl0jp8vqwf2rcpr8-texlive-combined-2019.drv' failed
Additional context
The error is: cd: ./share/texmf/web2c/: No such file or directory. And I think it happens here:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/typesetting/tex/texlive/combine.nix#L103
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
- system: `"x86_64-linux"`
- host os: `Linux 5.5.9, NixOS, 20.09pre218482.3320a06049f (Nightingale)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.3`
- channels(julius): `""`
- channels(root): `"nixos-20.09pre218482.3320a06049f"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: [texlive.combine]
# a list of nixos modules affected by the problem
module: [texlive]
Seems like a duplicate of https://github.com/NixOS/nixpkgs/issues/13764
Most helpful comment
Seems like a duplicate of https://github.com/NixOS/nixpkgs/issues/13764