Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install LaTeX with doc: too may open files #171218

Open
tobiasBora opened this issue May 2, 2022 · 2 comments
Open

Can't install LaTeX with doc: too may open files #171218

tobiasBora opened this issue May 2, 2022 · 2 comments
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: TeX Issues regarding texlive and TeX in general

Comments

@tobiasBora
Copy link
Contributor

tobiasBora commented May 2, 2022

Describe the bug

If I try to install LaTeX on NixOs (unstable 1ffba9f2f68) with documentation:

    (texlive.combine {
      inherit (texlive) scheme-full;
      pkgFilter = pkg: lib.elem pkg.tlType [ "run" "bin" "doc" ];
    })

I get an error when running nixos-switch:

copying path '/nix/store/ac8g2qfm88gychisrkjiqn0v53nvisxa-texlive.tlpdb.xz' from 'https://cache.nixos.org'...
error: opening directory '/nix/store/y2p34715pgw4f0ydd5glkjp85fqim5fl-dirtytalk.doc.r20520.tar.xz': Too many open files

Possibly related to the (closed) issues:

Notify maintainers

@xworld21 @veprbl

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.15.34, NixOS, 22.05 (Quokka)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.8.0pre20220411_f7276bc
  • channels(leo): "nixos-unstable-22.05pre369988.1ffba9f2f68, local-nixos-unstable-22.05pre366144.bc4b9eef3ce, home-manager, local-nixpkgs-unstable-21.11pre304920.dd98b100651, nixos-20-03-20.03.3328.6d1a044fc9f, test"
  • channels(root): "nixos-21.11pre325514.a4bf4434570"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos
@tobiasBora
Copy link
Contributor Author

Note that if I use

  security.pam.loginLimits = [{
    domain = "*";
    type = "soft";
    item = "nofile";
    value = "262144";
  }];

then it goes further (a smaller number may also work, but note that I need to switch to this parameters before installing texlive with documentation). It would be cool if large enough parameters were provided by default.

@tobiasBora
Copy link
Contributor Author

However, I run into another problem then #171230

@veprbl veprbl added the 6.topic: TeX Issues regarding texlive and TeX in general label May 3, 2022
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 30, 2022
EricCrosson added a commit to EricCrosson/dotfiles that referenced this issue Jul 11, 2023
I was upgrading nixpkgs and home-manager simultaneously, and the
realization (is that the right term?) was yuge.

Inspiration from
NixOS/nixpkgs#171218 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: TeX Issues regarding texlive and TeX in general
Projects
None yet
Development

No branches or pull requests

2 participants