Greetings! Does anyone know how to fix this package collision error?
> error: collision between `/nix/store/qhm5mhzyqdk54k9yyjk1wl16y80gwkc0-playwright-core-1.52.0/package.json' and `/nix/store/xhcmdcv5pslksh0d9ibxvgjcvz1862ln-prettier-3.5.3/package.json'
For context, prettier is installed under my user profile via home-manager and playwright-core is installed via a separate flake.nix
using nix develop
.
What I’ve tried:
- Updated both flakes and ran
sudo nixos-rebuild switch
andnix develop
respectively - Migrated the prettier installation from
nodePackages.prettier
toprettier
and ransudo nixos-rebuild switch
- Migrated
playwright-driver.browsers
toplaywright.browsers
and rannix develop
- Commented out all playwright related references in the development
flake.nix
and rannix develop
- (works, but not ideal) Commented out prettier in my home manager config and ran
sudo nixos-rebuild switch
While I’m able to get it to build without prettier, this is not ideal for me. I would like to get it building with both, but I would settle for having it work with prettier and without playwright.
Edit: Forgot to mention that I’m using the nixos-unstable branch