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

summary is hidden behind lots of collisions #370

Open
teto opened this issue Oct 18, 2023 · 1 comment · May be fixed by #373
Open

summary is hidden behind lots of collisions #370

teto opened this issue Oct 18, 2023 · 1 comment · May be fixed by #373

Comments

@teto
Copy link

teto commented Oct 18, 2023

I often run nixpkgs-review on vimPlugins update or the lua package update set, at the moment NixOS/nixpkgs#258819 .

In both cases, the summary is followed by a long list of collisions that makes the summary a pain to find:

warning: collision between `/nix/store/82icynaidvzyic2g349cqi4p9a5d4aa2-vimplugin-ai.vim-2023-10-03/doc/tags' and `/nix/store/qc4bdwi6zhk4r1vzbcxrnwrrjnm33a6g-vimplugin-CheckAttach-2019-05-08/doc/tags'
warning: collision between `/nix/store/82icynaidvzyic2g349cqi4p9a5d4aa2-vimplugin-ai.vim-2023-10-03/.gitignore' and `/nix/store/7k2xjb9fd6x0k2myb04759cd6sl0w9pc-vimplugin-ChatGPT.nvim-2023-10-16/.gitignore'
warning: collision between `/nix/store/82icynaidvzyic2g349cqi4p9a5d4aa2-vimplugin-ai.vim-2023-10-03/README.md' and `/nix/store/hsshj9pwkm5di7vha04haas87hfxya8b-vimplugin-BetterLua.vim-2020-08-14/README.md'
warning: collision between `/nix/store/82icynaidvzyic2g349cqi4p9a5d4aa2-vimplugin-ai.vim-2023-10-03/LICENSE.txt' and `/nix/store/kxbsb0yhk9z70dxr73jmyzwm4sfw8aa0-vimplugin-LanguageClient-neovim-0.1.161/LICENSE.txt'

I haven't looked at the code but the log shows that nixpkgs-review creates a big environment that contains everything. Would it make sense to ignore collisions in that environment ? why is the env needed ?

@Mic92
Copy link
Owner

Mic92 commented Oct 20, 2023

The buildEnv is needed because otherwise your stack will overflow from all the environment variables set (resulting in not being able to run any command). It is only used for large rebuilds and we also already ignore collisions, it's just a warning being printed.

@Artturin Artturin linked a pull request Oct 20, 2023 that will close this issue
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 a pull request may close this issue.

2 participants