ants: unbreak on Darwin
This commit is contained in:
parent
a0e24a6d40
commit
ee7d83e648
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, itk4, vtk_7 }:
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, itk4, vtk_7, Cocoa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ANTs";
|
||||
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
buildInputs = [ itk4 vtk_7 ];
|
||||
buildInputs = [ itk4 vtk_7 ] ++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
|
||||
|
||||
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
|
||||
|
||||
|
@ -26344,7 +26344,9 @@ in
|
||||
|
||||
alliance = callPackage ../applications/science/electronics/alliance { };
|
||||
|
||||
ants = callPackage ../applications/science/biology/ants { };
|
||||
ants = callPackage ../applications/science/biology/ants {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
};
|
||||
|
||||
aragorn = callPackage ../applications/science/biology/aragorn { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user