Hi Chris,

On Fri, Oct 04 2024, Chris Keschnat wrote:

>   guix package: error: profile contains conflicting entries for ffmpeg
>   guix package: error:   first entry: [email protected]    [...]
>   guix package: error:   second entry: [email protected]    [...]
>   guix package: error:    ... propagated from [email protected]

I believe your profile refers to both 'ffmpeg-7' and 'mpv'.  The latter
also propagates Ffmpeg but a lower version, namely 6.1.1. [1]

The versions cannot be used together in the same profile.  It's a simple
restriction because the /bin/ffmpeg path is already taken.

This is why many of us think that propagated inputs are "evil."  Mpv
should instead replace all invocations to Ffpmeg with the actual store
path to the version it requires.

As a solution, I would change "ffmpeg-7"---if that's what you have in
your profile---to "ffmpeg."  Alternatively, you could drop Ffmpeg from
your profile and rely on the version propagated by Mpv.

You can still use ffmpeg-7 via 'guix shell' if needed.

Kind regards
Felix

[1] https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/video.scm#n1890

Reply via email to