Building of a Haskell package may fail with this warning, for example:
Warning:
This package indirectly depends on multiple versions of the same package. This is very likely to cause a compile failure.
package zip-archive (zip-archive-0.3.2.5) requires binary-0.8.5.1
package text (text-1.2.3.0-KxYk6CmPvaH54OGfWxUXPi) requires binary-0.8.5.1-2jjzTJ14Adx8SkxPTQoTtW
package binary (binary-0.8.5.1) requires containers-0.5.10.2
package zip-archive (zip-archive-0.3.2.5) requires containers-0.5.11.0-74jiVtUSISeGR33AtpmPdk
package binary (binary-0.8.5.1-2jjzTJ14Adx8SkxPTQoTtW) requires containers-0.5.11.0-74jiVtUSISeGR33AtpmPdk
How serious is it? Why does Nix care? I suspect Stack just ignores this.
P. S. I am aware this is not specific to Haskell packages, I saw similar issues with C libraries (not with Nixpkgs), e. g. with libpng, when not all consumers had migrated.