diff options
author | joachifm <joachifm@users.noreply.github.com> | 2016-04-11 23:17:20 +0200 |
---|---|---|
committer | joachifm <joachifm@users.noreply.github.com> | 2016-04-11 23:17:20 +0200 |
commit | 2e2a87e57a80e4dca44be35e1fb21ef353197d43 (patch) | |
tree | 8aed13dce4b2c7257a4b907d696a882bb16623cd /pkgs | |
parent | b70f9dc17287d195039aa77f9d4bae83821511d2 (diff) | |
parent | c97ccd388c5bdcd1b581312408dc17222246f4cf (diff) | |
download | nixlib-2e2a87e57a80e4dca44be35e1fb21ef353197d43.tar nixlib-2e2a87e57a80e4dca44be35e1fb21ef353197d43.tar.gz nixlib-2e2a87e57a80e4dca44be35e1fb21ef353197d43.tar.bz2 nixlib-2e2a87e57a80e4dca44be35e1fb21ef353197d43.tar.lz nixlib-2e2a87e57a80e4dca44be35e1fb21ef353197d43.tar.xz nixlib-2e2a87e57a80e4dca44be35e1fb21ef353197d43.tar.zst nixlib-2e2a87e57a80e4dca44be35e1fb21ef353197d43.zip |
Merge pull request #14376 from acowley/qhull
qhull: darwin compatibility
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/qhull/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/libraries/qhull/default.nix b/pkgs/development/libraries/qhull/default.nix index 76ceb12b401f..f98c7bdb97e4 100644 --- a/pkgs/development/libraries/qhull/default.nix +++ b/pkgs/development/libraries/qhull/default.nix @@ -12,6 +12,11 @@ stdenv.mkDerivation rec { cmakeFlags = "-DMAN_INSTALL_DIR=share/man/man1 -DDOC_INSTALL_DIR=share/doc/qhull"; + patchPhase = stdenv.lib.optionalString stdenv.isDarwin '' + sed -i 's/namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }/#include <iterator>/' ./src/libqhullcpp/QhullIterator.h + sed -i 's/namespace std { struct bidirectional_iterator_tag; struct random_access_iterator_tag; }/#include <iterator>/' ./src/libqhullcpp/QhullLinkedList.h + ''; + meta = { homepage = http://www.qhull.org/; description = "Computes the convex hull, Delaunay triangulation, Voronoi diagram and more"; |