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

Generating index fails (texlive.pkgs not found) #255

Open
sukhmel opened this issue Sep 9, 2024 · 1 comment
Open

Generating index fails (texlive.pkgs not found) #255

sukhmel opened this issue Sep 9, 2024 · 1 comment

Comments

@sukhmel
Copy link

sukhmel commented Sep 9, 2024

As I run creating index, it fails because texlive.pkgs is not found:

▷ nix run github:nix-community/nix-index#nix-index
+ querying available packages
error: querying available packages failed
caused by: nix-env failed with error: nix-env failed with exit status: 1:
error: attribute 'pkgs' in selection path 'texlive.pkgs' not found
       Did you mean one of pgf or psgo?

System:

▷ uname -a
Darwin mbp-m1-vladislav.local 23.6.0 Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:30 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T6000 arm64

▷ nix --version
nix (Nix) 2.18.5
@nhurden
Copy link

nhurden commented Nov 23, 2024

I also hit this:

Seems related to 8fde272 , it works on the previous commit:

❯ nix run "github:nix-community/nix-index?rev=987b3cc16118f598a667de6c59f6143362b9505b#nix-index"
+ querying available packages
+ generating index: 90872 paths found :: 29027 paths not in binary cache :: 00000 paths in queue
+ wrote index of 52,321,322 bytes

Same error from running nix-env directly:

❯ nix-env -qa -A nixpkgs.texlive.pkgs
error: attribute 'pkgs' in selection path 'nixpkgs.texlive.pkgs' not found
       Did you mean one of pgf or psgo

But after updating channels (nix-channel --update) it works:

❯ nix-env -qa -A nixpkgs.texlive.pkgs | head
a0poster-1.22b
a2ping-2.84p
a4wide-20943
a5comb-4
aaai-named-52470
aalok-0.6
aastex-6.3.1
abbr-15878
abc-2.0b
abnt-55471

Doing a bit of bisecting:

  • Fails on 23.05
  • Works on 23.11
  • Works on 24.05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants