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] this derivation will be built: /nix/store/ah388hc54r80zc9f092ym72kxz9wwjml-packages.json.drv building '/nix/store/ah388hc54r80zc9f092ym72kxz9wwjml-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..765c95dd7c06 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.4"; in buildNpmPackage { pname = "documenso"; @@ -15,7 +15,7 @@ buildNpmPackage { owner = "documenso"; repo = "documenso"; rev = "v${version}"; - hash = "sha256-uKOJVZ0GRHo/CYvd/Ix/tq1WDhutRji1tSGdcITsNlo="; + hash = "sha256-Xq4MAaeYKSXBFIxnzdAQ+atP0xUTqEFaGla8AgHKd0U="; }; preBuild = '' @@ -26,7 +26,7 @@ buildNpmPackage { ${nodePackages.prisma}/bin/prisma generate ''; - npmDepsHash = "sha256-+JbvFMi8xoyxkuL9k96K1Vq0neciCGkkyZUPd15ES2E="; + npmDepsHash = "sha256-cwVfpMbEonxfedi4PMPaXs92QjyBaKoKKVFHkfpYmgw="; installPhase = '' runHook preInstall No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/03a4f9rij2z4mmwprlbip3mrnnfaw0yd-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/91wg7182m4pizbnrvvay90hlyvikpn1l-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/x3fxw3shrdb2qdq1qr48nwrvdn822yw2-documenso-1.5.4-npm-deps/package-lock.json Installing dependencies npm ERR! code ENOTCACHED npm ERR! request to https://registry.npmjs.org/eslint-plugin-package-json 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/x3fxw3shrdb2qdq1qr48nwrvdn822yw2-documenso-1.5.4-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" ]`