yarn2nix: don't check for broken symlinks

Yarn seems to create a bunch of those, and we can't control Yarn.
This commit is contained in:
K900 2025-01-31 19:35:19 +03:00
parent ead700a932
commit fed03a2a91

View File

@ -162,6 +162,8 @@ in rec {
runHook postBuild runHook postBuild
''; '';
dontCheckForBrokenSymlinks = true;
}; };
# This can be used as a shellHook in mkYarnPackage. It brings the built node_modules into # This can be used as a shellHook in mkYarnPackage. It brings the built node_modules into
@ -374,6 +376,8 @@ in rec {
runHook postInstall runHook postInstall
''; '';
dontCheckForBrokenSymlinks = true;
doDist = attrs.doDist or true; doDist = attrs.doDist or true;
distPhase = attrs.distPhase or '' distPhase = attrs.distPhase or ''