diff --git a/pkgs/by-name/pe/petsc/package.nix b/pkgs/by-name/pe/petsc/package.nix index c3a642e0656c..70a0e5e76970 100644 --- a/pkgs/by-name/pe/petsc/package.nix +++ b/pkgs/by-name/pe/petsc/package.nix @@ -19,6 +19,7 @@ petsc-precision ? "double", mpiSupport ? true, withPetsc4py ? false, # petsc python binding + withExamples ? false, withFullDeps ? false, # full External libraries support # External libraries options @@ -165,6 +166,8 @@ stdenv.mkDerivation rec { configureScript = "python ./configure"; + installTargets = [ (if withExamples then "install" else "install-lib") ]; + enableParallelBuilding = true; # This is needed as the checks need to compile and link the test cases with