error: cannot coerce
This reverts commit f0ac2a35d5. The request from the sibling PR, which also applies here, was not addressed. https://github.com/NixOS/nix/pull/9554#issuecomment-1845095735
f0ac2a35d5