Skip to content

Conversation

vkryachko
Copy link
Contributor

When running nix-index on old nixpkgs, scopes like rPackages are missing, so instead of exiting with an error, this change issues an error to stderr and skips such package set.

Motivation: while it's possible to use an older version of nix-index to create the index for older nixpkgs, newer nix-index is much more performant so it's useful to be able to use it.

Meaning indexes produced at the same nixpkgs commit always result in the database
with identical checksum.

This resulted in non-toplevel attrs being absent from the index but they are not
useful for use cases like "comma", command not found handlers.
When running nix-index on old nixpkgs, scopes like rPackages are missing,
so instead of exiting with an error, this change issues an error to stderr and
skips such package set.

Motivation: while it's possible to use an older version of nix-index to create
the index for older nixpkgs, newer nix-index is much more performant
so it's useful to be able to use it.
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

Successfully merging this pull request may close these issues.

1 participant