Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c568f4d21a63
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a333b11963d7
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Mar 12, 2018

  1. petsc: fix darwin build

    (cherry picked from commit edef344)
    knedlsepp authored and LnL7 committed Mar 12, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    jtojnar Jan Tojnar
    Copy the full SHA
    a333b11 View commit details
Showing with 5 additions and 0 deletions.
  1. +5 −0 pkgs/development/libraries/science/math/petsc/default.nix
5 changes: 5 additions & 0 deletions pkgs/development/libraries/science/math/petsc/default.nix
Original file line number Diff line number Diff line change
@@ -16,6 +16,11 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [ blas gfortran.cc.lib liblapack python ];

prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace config/install.py \
--replace /usr/bin/install_name_tool install_name_tool
'';

preConfigure = ''
patchShebangs .
configureFlagsArray=(