NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.93k stars 13.95k forks source link

Build failure: vagrant #348938

Open andersk opened 6 days ago

andersk commented 6 days ago

Steps To Reproduce

Steps to reproduce the behavior:

  1. build vagrant

Build log

Running phase: installCheckPhase
Vagrant failed to initialize at a very early stage:
The plugins failed to initialize correctly. This may be due to manual
modifications made within the Vagrant home directory. Vagrant can
attempt to automatically correct this issue by running:
  vagrant plugin repair
If Vagrant was recently updated, this error may be due to incompatible
versions of dependencies. To fix this problem please remove and re-install
all plugins. Vagrant can attempt to do this automatically by running:
  vagrant plugin expunge --reinstall
Or you may want to try updating the installed plugins to their latest
versions:
  vagrant plugin update
Error message given during initialization: can't activate rexml-3.3.6, already activated rexml-3.2.5

Additional context

Notify maintainers

@tylerjl

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.56, NixOS, 24.11 (Vicuna), 24.11.git.0846c6c8a7db`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - channels(anders): `""`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

andersk commented 5 days ago

Workaround (if you don’t need libvirt support): vagrant.override { withLibvirt = false; } still works.