Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: mdadm 0 -> 1 attrpath: mdadm 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] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/sksijsb0wgfmqrwq3hqv2dws18dcr90j-packages.json.drv building '/nix/store/sksijsb0wgfmqrwq3hqv2dws18dcr90j-packages.json.drv'... Going to be running update for following packages: - mdadm-4.4 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - mdadm-4.4: UPDATING ... - mdadm-4.4: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/md/mdadm4/package.nix b/pkgs/by-name/md/mdadm4/package.nix index 2143acc494e5..e490b88e2120 100644 --- a/pkgs/by-name/md/mdadm4/package.nix +++ b/pkgs/by-name/md/mdadm4/package.nix @@ -15,12 +15,12 @@ stdenv.mkDerivation (finalAttrs: { pname = "mdadm"; - version = "4.4"; + version = "4.6"; src = fetchgit { url = "https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git"; tag = "mdadm-${finalAttrs.version}"; - hash = "sha256-jGmc8fkJM0V9J7V7tQPXSF/WD0kzyEAloBAwaAFenS0="; + hash = "sha256-jFsVPJC4lcShkSwQCGjVdVkvk4q4weM7i5DzrLgpuSM="; }; patches = [ 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 mdadm nix build failed. got build log for 'mdadm' from 'daemon' Using udevCheckHook Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/xqms3g2v8vxakzw5w9i15l6y4kzkyci2-mdadm source root is mdadm Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } applying patch /nix/store/40xh6x2b8xs15q89sb4j8rb20ss0ab7f-no-self-references.patch patching file Makefile Hunk #1 succeeded at 90 (offset 27 lines). Hunk #2 succeeded at 161 (offset 29 lines). Hunk #3 FAILED at 257. Hunk #4 FAILED at 309. 2 out of 4 hunks FAILED -- saving rejects to file Makefile.rej patching file policy.c Hunk #1 succeeded at 895 (offset 78 lines). Hunk #2 succeeded at 941 (offset 78 lines). patching file util.c Hunk #1 succeeded at 1978 (offset 65 lines).