Failed to install two version of the same package (collision), is it known issue/limitation? #419
-
I want to install two version of a package (say hello), one is the standard, the other one is a fork of the standard one (actually just an unmerged pull request). I then use this flake as input (with input name "hello" ) of nix-on-droid's flake, then install it with
Then the nix store paths collide with same error code in this issus. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Please share a minimal reproducible example. |
Beta Was this translation helpful? Give feedback.
-
And also your expectations. Like, which one is supposed to get invoked when you run `hello` and why.
|
Beta Was this translation helpful? Give feedback.
Yeah, no, that's likely not enough,
bin/yt-dlp
is not the only contents of that derivation. Please post the actual error message, it probably contains specific paths that collide. One way to avoid that would be wrap it into a wrapper that'd contain just thebin/yt-dlp-renamed
thing.