documenso 0.9 -> 1.3.0 https://github.com/documenso/documenso/releases attrpath: documenso Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/21qbz1mfn6z04fvwywlm98i270qkhcj9-packages.json.drv building '/nix/store/21qbz1mfn6z04fvwywlm98i270qkhcj9-packages.json.drv'... Going to be running update for following packages: - documenso-0.9 Press Enter key to continue... Running update for: - documenso-0.9: UPDATING ... - documenso-0.9: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/applications/office/documenso/default.nix b/pkgs/applications/office/documenso/default.nix index e57e6d0fae21..60c58b7be54c 100644 --- a/pkgs/applications/office/documenso/default.nix +++ b/pkgs/applications/office/documenso/default.nix @@ -5,7 +5,7 @@ , nix-update-script }: let - version = "0.9"; + version = "1.3.0"; in buildNpmPackage { pname = "documenso"; @@ -15,7 +15,7 @@ buildNpmPackage { owner = "documenso"; repo = "documenso"; rev = "v${version}"; - hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo="; + hash = "sha256-blPyco+bsPoAuVc7CrYUsBKRaWJUCzEGG20LmobsmCo="; }; preBuild = '' @@ -26,7 +26,7 @@ buildNpmPackage { ${nodePackages.prisma}/bin/prisma generate ''; - npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E="; + npmDepsHash = "sha256-wj2nKD4I37NwS+0LIm1bvtrofOCqrrLQ7HLAKEm5rxE="; installPhase = '' runHook preInstall No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A documenso nix build failed. got build log for 'documenso' from 'daemon' @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/bvg8l6scm5p8hmdvgd23m8h4yqsz6ql8-source source root is source @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/k6zyd1vzbgjylj9sh28whsn31mipxcnl-documenso-1.3.0-npm-deps/package-lock.json Installing dependencies npm WARN deprecated node-signpdf@2.0.0: NPM package is being replaced by @signpdf. See https://github.com/vbuch/node-signpdf npm ERR! code ENOTCACHED npm ERR! request to https://registry.npmjs.org/@types%2fnode failed: cache mode is 'only-if-cached' but no cached response is available.  npm ERR! Log files were not written due to an error writing to the directory: /nix/store/k6zyd1vzbgjylj9sh28whsn31mipxcnl-documenso-1.3.0-npm-deps/_logs npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal  ERROR: npm failed to install dependencies Here are a few things you can try, depending on the error: 1. Set `makeCacheWritable = true` Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error. 2. Set `npmFlags = [ "--legacy-peer-deps" ]`