documenso 0 -> 1 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] 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..eee761c7e36b 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.5.3"; in buildNpmPackage { pname = "documenso"; @@ -15,7 +15,7 @@ buildNpmPackage { owner = "documenso"; repo = "documenso"; rev = "v${version}"; - hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo="; + hash = "sha256-7tFwMpfCgRtfx5HUrxuAUoaprGvKKUrNn7o5Kmzp164="; }; preBuild = '' @@ -26,7 +26,7 @@ buildNpmPackage { ${nodePackages.prisma}/bin/prisma generate ''; - npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E="; + npmDepsHash = "sha256-GJ1kXphM5Y1N23h3OnQcjqJdnpaWrwwiLbij33sv9tg="; installPhase = '' runHook preInstall No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/v7gdmdc9yhx3ngh840xx5kr46840s73b-nix-2.18.2/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/7bn3j1mlpfj9bb2r40kyamyxsflsq7r1-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/k8zmhm398ql047dmrvf0h5iv2s6wv1d5-documenso-1.5.3-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/k8zmhm398ql047dmrvf0h5iv2s6wv1d5-documenso-1.5.3-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" ]`