pre-commit 0 -> 1 attrpath: pre-commit Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/s304y06jvxcrnsrc3vd626xvcv0v5pjw-packages.json.drv building '/nix/store/s304y06jvxcrnsrc3vd626xvcv0v5pjw-packages.json.drv'... Going to be running update for following packages: - python3.10-pre-commit-2.20.0 Press Enter key to continue... Running update for: - python3.10-pre-commit-2.20.0: UPDATING ... - python3.10-pre-commit-2.20.0: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/tools/misc/pre-commit/default.nix b/pkgs/tools/misc/pre-commit/default.nix index 593ff2c68bd..5c4610eddd1 100644 --- a/pkgs/tools/misc/pre-commit/default.nix +++ b/pkgs/tools/misc/pre-commit/default.nix @@ -13,7 +13,7 @@ with python3Packages; buildPythonPackage rec { pname = "pre-commit"; - version = "2.20.0"; + version = "3.0.4"; format = "setuptools"; disabled = pythonOlder "3.6"; @@ -22,7 +22,7 @@ buildPythonPackage rec { owner = "pre-commit"; repo = "pre-commit"; rev = "refs/tags/v${version}"; - sha256 = "sha256-+JrnJz+wFbzVw9ysPX85DDE6suF3VU7gQZdp66x5TKY="; + sha256 = "sha256-m36cYPqcNXZGwupzv4mZ0K05rj5CIm4SgSCUymT0xYk="; }; patches = [ 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 pre-commit nix build failed. Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing setuptools-build-hook Using setuptoolsBuildPhase Using setuptoolsShellHook Sourcing pip-install-hook Using pipInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing setuptools-check-hook Using setuptoolsCheckPhase Sourcing pytest-check-hook Using pytestCheckPhase Removing setuptoolsCheckPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking sources unpacking source archive /nix/store/c1lj81gihwiayviypjn1ilq09sfa44mk-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/tox.ini @nix { "action": "setPhase", "phase": "patchPhase" } patching sources applying patch /nix/store/x84sla8dsz5ad57nr5f2pdk1siqy39j6-languages-use-the-hardcoded-path-to-python-binaries.patch patching file pre_commit/languages/node.py Hunk #1 FAILED at 82. 1 out of 1 hunk FAILED -- saving rejects to file pre_commit/languages/node.py.rej patching file pre_commit/languages/python.py Hunk #1 FAILED at 192. 1 out of 1 hunk FAILED -- saving rejects to file pre_commit/languages/python.py.rej