Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: petsc 3.25.5 -> 3.25.6 https://repology.org/project/petsc/versions
attrpath: petsc
Checking auto update branch...
No auto update branch exists
[version]
[version] updated version and sha256
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] skipping because derivation has no updateScript
Diff after rewrites:
diff --git a/pkgs/by-name/pe/petsc/package.nix b/pkgs/by-name/pe/petsc/package.nix
index 73e8f36246b2..5ea2d04c89f2 100644
--- a/pkgs/by-name/pe/petsc/package.nix
+++ b/pkgs/by-name/pe/petsc/package.nix
@@ -109,11 +109,11 @@ let
in
stdenv.mkDerivation (finalAttrs: {
pname = "petsc";
- version = "3.25.5";
+ version = "3.25.6";
src = fetchzip {
url = "https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc-${finalAttrs.version}.tar.gz";
- hash = "sha256-atNPjeL59fJqPMJ4LVS2goh1riyA3ewwMynUA+YPVd4=";
+ hash = "sha256-/yo7CdbtqNiV7RrjpYyUHIk4Puvj4s/X7MYS97wTsqc=";
};
postPatch = ''
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `277a935141ea96df8e51cc639a2931b738506f26`
---
### `x86_64-linux`
:x: 2 packages failed to build:
- python314Packages.firedrake
- python313Packages.firedrake
:white_check_mark: 15 packages built:
- getdp
- petsc
- precice
- dolfinx
- python313Packages.petsc4py
- python313Packages.petsctools
- python313Packages.pyprecice
- python313Packages.slepc4py
- python314Packages.fenics-dolfinx
- python314Packages.petsc4py
- python314Packages.petsctools
- python314Packages.pyprecice
- python314Packages.slepc4py
- slepc
- python313Packages.fenics-dolfinx
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from https://repology.org/project/petsc/versions.
meta.description for petsc is: Portable Extensible Toolkit for Scientific computation
meta.homepage for petsc is: https://petsc.org/release/
###### Updates performed
- Version update
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 3.25.6 with grep in /nix/store/6jgdv9c9cp8lgpfqvd95iwfi419733wb-petsc-3.25.6
- found 3.25.6 in filename of file in /nix/store/6jgdv9c9cp8lgpfqvd95iwfi419733wb-petsc-3.25.6
---
Rebuild report (if merged into master) (click to expand)
```
33 total rebuild path(s)
29 package rebuild(s)
First fifty rebuilds by attrpath
dolfinx
getdp
petsc
pkgsRocm.dolfinx
pkgsRocm.getdp
pkgsRocm.petsc
pkgsRocm.precice
pkgsRocm.python3Packages.fenics-dolfinx
pkgsRocm.python3Packages.firedrake
pkgsRocm.python3Packages.petsc4py
pkgsRocm.python3Packages.petsctools
pkgsRocm.python3Packages.pyprecice
pkgsRocm.python3Packages.slepc4py
pkgsRocm.slepc
precice
python313Packages.fenics-dolfinx
python313Packages.firedrake
python313Packages.petsc4py
python313Packages.petsctools
python313Packages.pyprecice
python313Packages.slepc4py
python314Packages.fenics-dolfinx
python314Packages.firedrake
python314Packages.petsc4py
python314Packages.petsctools
python314Packages.pyprecice
python314Packages.slepc4py
slepc
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/6jgdv9c9cp8lgpfqvd95iwfi419733wb-petsc-3.25.6 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted.
Or, **build yourself**:
```
nix-build -A petsc https://github.com/r-ryantm/nixpkgs/archive/277a935141ea96df8e51cc639a2931b738506f26.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/277a935141ea96df8e51cc639a2931b738506f26#petsc
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/6jgdv9c9cp8lgpfqvd95iwfi419733wb-petsc-3.25.6
ls -la /nix/store/6jgdv9c9cp8lgpfqvd95iwfi419733wb-petsc-3.25.6/bin
```
---
### Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as _failed to build_ independent of the
change, simply because they are already broken on the target branch.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `277a935141ea96df8e51cc639a2931b738506f26`
---
### `x86_64-linux`
:x: 2 packages failed to build:
- python314Packages.firedrake
- python313Packages.firedrake
:white_check_mark: 15 packages built:
- getdp
- petsc
- precice
- dolfinx
- python313Packages.petsc4py
- python313Packages.petsctools
- python313Packages.pyprecice
- python313Packages.slepc4py
- python314Packages.fenics-dolfinx
- python314Packages.petsc4py
- python314Packages.petsctools
- python314Packages.pyprecice
- python314Packages.slepc4py
- slepc
- python313Packages.fenics-dolfinx
---
###### Maintainer pings
cc @qbisi for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/568078