Skip to content

latexindent broken due to missing perl modules #35537

@logarytm

Description

@logarytm

Issue description

latexindent is missing some Perl modules:

$ latexindent                              
Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny module) (@INC contains: /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent /nix/store/lqh5mddy3kcnscgg1z90sd9m59gl91ij-texlive-combined-full-2017/share/texmf/scripts/texlive /etc/profiles/per-user/og/lib/perl5/site_perl /home/og/.nix-profile/lib/perl5/site_perl /nix/var/nix/profiles/default/lib/perl5/site_perl /run/current-system/sw/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi /run/current-system/sw/lib/perl5/site_perl/5.24.3 /run/current-system/sw/lib/perl5/site_perl /nix/store/s029gmjpgvm776wfb56naqny9qja9339-perl-5.24.3/lib/perl5/site_perl/5.24.3/x86_64-linux-thread-multi /nix/store/s029gmjpgvm776wfb56naqny9qja9339-perl-5.24.3/lib/perl5/site_perl/5.24.3 /nix/store/s029gmjpgvm776wfb56naqny9qja9339-perl-5.24.3/lib/perl5/5.24.3/x86_64-linux-thread-multi /nix/store/s029gmjpgvm776wfb56naqny9qja9339-perl-5.24.3/lib/perl5/5.24.3 .) at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 20.
BEGIN failed--compilation aborted at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/LatexIndent/GetYamlSettings.pm line 20.
Compilation failed in require at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/LatexIndent/LogFile.pm line 19.
BEGIN failed--compilation aborted at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/LatexIndent/LogFile.pm line 19.
Compilation failed in require at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/LatexIndent/Document.pm line 25.
BEGIN failed--compilation aborted at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/LatexIndent/Document.pm line 25.
Compilation failed in require at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/latexindent.pl line 27.
BEGIN failed--compilation aborted at /nix/store/41sphgx0ha3mgaspgjzrx0ah9ak42h5f-latexindent-3.3/scripts/latexindent/latexindent.pl line 27.

Steps to reproduce

environment.systemPackages = [ pkgs.texlive.combined.scheme-full ];

Technical details

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 4.9.81, NixOS, 18.03pre129076.831ef4756e3 (Impala)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 1.11.16`
 - channels(og): `"nixos-18.03pre129076.831ef4756e3"`
 - channels(root): `"nixos-18.03pre129076.831ef4756e3"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs`

Metadata

Metadata

Assignees

No one assigned

    Labels

    6.topic: TeXIssues regarding texlive and TeX in general

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions