python3Packages.firedrake: add updateScript
This commit is contained in:
@@ -43,9 +43,10 @@
|
||||
mpiCheckPhaseHook,
|
||||
writableTmpDirAsHomeHook,
|
||||
|
||||
# passthru.tests
|
||||
# passthru
|
||||
firedrake,
|
||||
mpich,
|
||||
nix-update-script,
|
||||
}:
|
||||
let
|
||||
firedrakePackages = lib.makeScope newScope (self: {
|
||||
@@ -173,6 +174,13 @@ buildPythonPackage rec {
|
||||
# python updater script sets the wrong tag
|
||||
skipBulkUpdate = true;
|
||||
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--version-regex"
|
||||
"([0-9.]+)"
|
||||
];
|
||||
};
|
||||
|
||||
tests = lib.optionalAttrs stdenv.hostPlatform.isLinux {
|
||||
mpich = firedrake.override {
|
||||
petsc4py = petsc4py.override { mpi = mpich; };
|
||||
|
||||
Reference in New Issue
Block a user