Wine in nix generated docker container

That sadly matches my experience. Trying to package anything involving wine often breaks due to the presence of symlinks, as well. I’ve used the “copy at runtime” approach before, but it’ll take some bespoke scripting to make work in a container.

There was a thread about this a long time ago that goes over some approaches: What is your approach to packaging Wine applications with Nix derivations?