tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
petsc: add setupHook to set PETSC_DIR env
qbisi
11 months ago
77345dd2
dd6e89f2
+3
-5
3 changed files
expand all
collapse all
unified
split
pkgs
by-name
pe
petsc
package.nix
setup-hook.sh
pf
pflotran
package.nix
+2
pkgs/by-name/pe/petsc/package.nix
···
179
179
inherit mpiSupport;
180
180
};
181
181
182
182
+
setupHook = ./setup-hook.sh;
183
183
+
182
184
meta = with lib; {
183
185
description = "Portable Extensible Toolkit for Scientific computation";
184
186
homepage = "https://petsc.org/release/";
+1
pkgs/by-name/pe/petsc/setup-hook.sh
···
1
1
+
export PETSC_DIR=@out@
-5
pkgs/by-name/pf/pflotran/package.nix
···
54
54
--subst-var-by "HDF5_FORTRAN_INCLUDE" "${lib.getDev hdf5-fortran-mpi}/include"
55
55
'';
56
56
57
57
-
configureFlags = [
58
58
-
"--with-petsc-dir=${petsc}"
59
59
-
"--with-petsc-arch=linux-gnu-c-release"
60
60
-
];
61
61
-
62
57
meta = with lib; {
63
58
description = "Parallel, multi-physics simulation code for subsurface flow and transport";
64
59
homepage = "https://pflotran.org/";