qhull: add fixDarwinDylibNames

(cherry picked from commit e34b55910991a52b432f97cddfb2e8a2b4b13f97)
cc #124578
This commit is contained in:
Dmitry Kalinkin 2021-05-27 04:54:05 -04:00
parent 6029acc019
commit 46a5d32fc9
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
pname = "qhull";
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "sha256-djUO3qzY8ch29AuhY3Bn1ajxWZ4/W70icWVrxWRAxRc=";
};
nativeBuildInputs = [ cmake ];
nativeBuildInputs = [ cmake ]
++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
meta = with lib; {
homepage = "http://www.qhull.org/";