We don't have yarn berry support in our nixpkgs tooling yet, but it's expected Soon™. You can make your own package-lock.json and use the npm tooling for now
Also idk if yarn2nix/mkYarnPackage will ever support it but we have newer tooling on the way that works more similarly to the npm tooling