Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: mystmd 1.3.18 -> @1.8.2 https://github.com/executablebooks/mystmd/releases attrpath: mystmd Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] Going to be running update for following packages: - mystmd-1.3.18 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - mystmd-1.3.18: UPDATING ... - mystmd-1.3.18: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/my/mystmd/package.nix b/pkgs/by-name/my/mystmd/package.nix index 841338014853..c56a8a2469a1 100644 --- a/pkgs/by-name/my/mystmd/package.nix +++ b/pkgs/by-name/my/mystmd/package.nix @@ -9,16 +9,16 @@ buildNpmPackage rec { pname = "mystmd"; - version = "1.3.18"; + version = "1.8.2"; src = fetchFromGitHub { owner = "executablebooks"; repo = "mystmd"; rev = "mystmd@${version}"; - hash = "sha256-20Cxs4ib7xRn4UC9ShiQ+KnyrTCmW/vII7QN9BObY78="; + hash = "sha256-0LKWupcSANscZQsT6bDd5XPthlQwa0DNZ5eARsk6bQY="; }; - npmDepsHash = "sha256-dcjOxEYTG/EnBRu+RE7cpSEvNmG32QsDDYzItaNTpa0="; + npmDepsHash = "sha256-ACKrwCNy1AaJrdtP6xQzwMJdCeDwqAh12wxzSYWDPBg="; dontNpmInstall = true; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A mystmd nix build failed. got build log for 'mystmd' from 'daemon' Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/16bb4l7y97hjxd6vcjg7i540k6dn1iai-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/zh1fvh02py5yh57rzj7dwfq1q4f3xymj-mystmd-1.8.2-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/zh1fvh02py5yh57rzj7dwfq1q4f3xymj-mystmd-1.8.2-npm-deps Installing dependencies npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. npm warn Unknown env config "platform". This will stop working in the next major version of npm. npm warn Unknown env config "arch". This will stop working in the next major version of npm. npm error code ENOTCACHED npm error request to https://registry.npmjs.org/hastscript failed: cache mode is 'only-if-cached' but no cached response is available. npm error Log files were not written due to an error writing to the directory: /nix/store/zh1fvh02py5yh57rzj7dwfq1q4f3xymj-mystmd-1.8.2-npm-deps/_logs npm error 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 `npmDepsFetcherVersion = 2` (and update `npmDepsHash`) 2. 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. 3. Set `npmFlags = [ "--legacy-peer-deps" ]`