Skip to content

Commit 81677e6

Browse files
committed
minc_tools: fix build
1 parent 7554eb0 commit 81677e6

File tree

1 file changed

+3
-0
lines changed
  • pkgs/applications/science/biology/minc-tools

1 file changed

+3
-0
lines changed

pkgs/applications/science/biology/minc-tools/default.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ stdenv.mkDerivation rec {
5050
"-DNIFTI_INCLUDE_DIR=${nifticlib}/include/nifti"
5151
];
5252

53+
env.NIX_CFLAGS_COMPILE = "-D_FillValue=NC_FillValue";
54+
5355
postFixup = ''
5456
for prog in minccomplete minchistory mincpik; do
5557
wrapProgram $out/bin/$prog --prefix PERL5LIB : $PERL5LIB
@@ -62,5 +64,6 @@ stdenv.mkDerivation rec {
6264
maintainers = with maintainers; [ bcdarwin ];
6365
platforms = platforms.unix;
6466
license = licenses.free;
67+
broken = stdenv.hostPlatform.isDarwin;
6568
};
6669
}

0 commit comments

Comments
 (0)