inormalize: fix build on darwin
This commit is contained in:
parent
07ae660f55
commit
54f104a929
|
@ -15,6 +15,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
patches = [ ./lgmask-interp.patch ./nu_correct_norm-interp.patch ];
|
patches = [ ./lgmask-interp.patch ./nu_correct_norm-interp.patch ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace inormalize.cc \
|
||||||
|
--replace "clamp" "::clamp"
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake makeWrapper ];
|
nativeBuildInputs = [ cmake makeWrapper ];
|
||||||
buildInputs = [ libminc ebtks ];
|
buildInputs = [ libminc ebtks ];
|
||||||
propagatedBuildInputs = with perlPackages; [ perl GetoptTabular MNI-Perllib ];
|
propagatedBuildInputs = with perlPackages; [ perl GetoptTabular MNI-Perllib ];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user