mac02: building x9pm55x6cxm1pji1iddg7y81sv5r2jsl-docs.drv Running phase: unpackPhase unpacking source archive /nix/store/g6fvw1m91ca7w7nrgyi42ww1rwx0c48a-source/docs source root is docs Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-68684-1432587144/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