this derivation will be built: /nix/store/pc64gpz0hfam470clc1z2yrhx0kaddjs-docs.drv these 16 paths will be fetched (43.8 MiB download, 530.8 MiB unpacked): /nix/store/l46fjkzva0bhvy9p2r7p4vi68kr7a1db-binutils-wrapper-2.41 /nix/store/s472jwn7860nji3ri376063mani5snv3-docs-npm-deps /nix/store/yjll8dlg38qdh9gw6bk8rsyq80jpfw3c-expand-response-params /nix/store/mpm3i0sbqc9svfch6a17179fs64dz2kv-gcc-wrapper-13.3.0 /nix/store/bmwh6dkz2f3k6fa840hc110qpkdccy91-install-shell-files /nix/store/lbbfggfihm00ban6qn74z055czaqdmx5-jq-1.7.1 /nix/store/d2kin53ib2ii492ql1kznjsgy85lhwdz-jq-1.7.1-bin /nix/store/ji5hnw6mskl27rls3979bb2npzhjbqcb-jq-1.7.1-doc /nix/store/xj4yxyfrac5gkphn4y7rjl049i4m01fn-jq-1.7.1-lib /nix/store/4mxkh3vqhavpv4x5ib7qyiwq0k44lki5-make-shell-wrapper-hook /nix/store/6dlfz7x77sxp3jf735aq8zis5qnzrd6b-nodejs-20.12.2-source /nix/store/6ca4xrbaj5d8ahggzyka7p9ajh2mkn03-npm-build-hook /nix/store/9dgsb6jvc9mwcis1sxjhysgxrv2hqpjf-npm-config-hook /nix/store/sm8d779s6027bqi8nl9ar1b60w1jyhw1-npm-install-hook /nix/store/cfn5mxsj39zxjxpar677i25l122wnwyb-oniguruma-6.9.9-lib /nix/store/d3dzfy4amjl826fb8j00qp1d9887h7hm-stdenv-linux error: Cannot build '/nix/store/pc64gpz0hfam470clc1z2yrhx0kaddjs-docs.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/z70aw09lg35cr0v19wmjqyafm8r2lvjd-docs Last 25 log lines: > unpacking source archive /nix/store/g6fvw1m91ca7w7nrgyi42ww1rwx0c48a-source/docs > source root is docs > Running phase: patchPhase > Executing npmConfigHook > Configuring npm > Validating consistency between /build/docs/package-lock.json and /nix/store/s472jwn7860nji3ri376063mani5snv3-docs-npm-deps/package-lock.json > 1579,1582c1579,1581 > < "version": "1.2.2", > < "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz", > < "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==", > < "license": "BSD-3-Clause", > --- > > "version": "1.2.0", > > "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", > > "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", > > ERROR: npmDepsHash is out of date > > The package-lock.json in src is not the same as the in /nix/store/s472jwn7860nji3ri376063mani5snv3-docs-npm-deps. > > To fix the issue: > 1. Use `lib.fakeHash` as the npmDepsHash value > 2. Build the derivation and wait for it to fail with a hash mismatch > 3. Copy the 'got: sha256-' value back into the npmDepsHash field > For full logs, run: nix log /nix/store/pc64gpz0hfam470clc1z2yrhx0kaddjs-docs.drv