Merge pull request #105609 from bcdarwin/darwin-unbreak-ants
ants: unbreak on Darwin
This commit is contained in:
commit
053e67e81e
2 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, itk4, vtk_7 }:
|
{ stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, itk4, vtk_7, Cocoa }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ANTs";
|
pname = "ANTs";
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ itk4 vtk_7 ];
|
buildInputs = [ itk4 vtk_7 ] ++ stdenv.lib.optional stdenv.isDarwin [ Cocoa ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
|
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
|
||||||
|
|
||||||
|
|
|
@ -26352,7 +26352,9 @@ in
|
||||||
|
|
||||||
alliance = callPackage ../applications/science/electronics/alliance { };
|
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 { };
|
aragorn = callPackage ../applications/science/biology/aragorn { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue