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

Cannot install idris2 and idris2-lsp at the same time #19

Open
pimartinet opened this issue May 28, 2022 · 0 comments
Open

Cannot install idris2 and idris2-lsp at the same time #19

pimartinet opened this issue May 28, 2022 · 0 comments

Comments

@pimartinet
Copy link

When I try to install lsp while idris2 is installed (I tried both github:idris-lang/Idris2 and github:claymager/idris2-pkgs#idris2) or vice-versa, I get the following error:

$ nix profile install github:claymager/idris2-pkgs#lsp
error: packages '/nix/store/k3sjar5qg6gyxmyawc1f06si32swwwan-lsp-0.4.0/idris2-0.5.1/prelude-0.5.1/Builtin.ttc' and '/nix/store/ha29cylxibyspmhlsdgvw6293vma2cb2-idris2-0.5.1/idris2-0.5.1/prelude-0.5.1/Builtin.ttc' have the same priority 5; use 'nix-env --set-flag priority NUMBER INSTALLED_PKGNAME' to change the priority of one of the conflicting packages (0 being the highest priority)

I tried running nix-env --set-flag but it says the profile is incompatible with nix-env and nix profile --set-flag doesn't exist.

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

1 participant