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: c3ccaedee0ad
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: a431a65a2c12
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 11, 2018

  1. petsc: fix darwin build

    knedlsepp committed Mar 11, 2018
    Copy the full SHA
    edef344 View commit details

Commits on Mar 12, 2018

  1. Merge pull request #36833 from knedlsepp/fix-petsc-on-darwin

    petsc: fix darwin build
    LnL7 authored Mar 12, 2018
    Copy the full SHA
    a431a65 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=(