Aws-cdk node-modules.json addition failing at yaml dependency

I’m trying to add aws-cdk to the node-packages.json list as per nixpkgs/node.section.md at 3a7d278b54f1cdc11f30d823ad7a2b02555f54d4 · NixOS/nixpkgs · GitHub.

It fails to resolve some dependency. Does anyone have any suggestions?

% nix-build -A nodePackages.aws-cdk
these derivations will be built:
...
/nix/store/i59fjcvywngac5galryfi2xbalkspn2q-node_aws-cdk-1.101.0/lib/node_modules/aws-cdk/node_modules/semver/node_modules/yallist
source-map-support@0.5.19 /nix/store/i59fjcvywngac5galryfi2xbalkspn2q-node_aws-cdk-1.101.0/lib/node_modules/aws-cdk/node_modules/source-map-support
buffer-from@1.1.1 /nix/store/i59fjcvywngac5galryfi2xbalkspn2q-node_aws-cdk-1.101.0/lib/node_modules/aws-cdk/node_modules/buffer-from
source-map@0.6.1 /nix/store/i59fjcvywngac5galryfi2xbalkspn2q-node_aws-cdk-1.101.0/lib/node_modules/aws-cdk/node_modules/source-map
uuid@8.3.2 /nix/store/i59fjcvywngac5galryfi2xbalkspn2q-node_aws-cdk-1.101.0/lib/node_modules/aws-cdk/node_modules/uuid
yaml@1.10.2 /nix/store/i59fjcvywngac5galryfi2xbalkspn2q-node_aws-cdk-1.101.0/lib/node_modules/aws-cdk/node_modules/yaml
npm ERR! code ENOTCACHEDfetchPackageMetaData error for xml-jK
npm ERR! request to https://registry.npmjs.org/@aws-cdk%2fcloud-assembly-schema failed: cache mode is 'only-if-cached' but no cached response available.

npm ERR! A complete log of this run can be found in:
npm ERR!     /private/tmp/nix-build-node_aws-cdk-1.101.0.drv-0/.npm/_logs/2021-04-29T10_46_24_865Z-debug.log

builder for '/nix/store/79dqwfgn7jqjg5544fl6v5g5zygbpkjx-node_aws-cdk-1.101.0.drv' failed with exit code 1
error: build of '/nix/store/79dqwfgn7jqjg5544fl6v5g5zygbpkjx-node_aws-cdk-1.101.0.drv' failed

I’ve tried adding the following to no avail in pkgs/development/node-packages/default.nix

aws-cdk = super.aws-cdk.override {
      buildInputs = [ self.node-gyp self.yarn ]; // and/or node-pre-gyp, node-gyp-build
    };

I assume there’s some buildInput required, but it’s not obvious to me what that might be.