ciftilib: unbreak

This commit is contained in:
Ben Darwin
2025-01-14 10:10:47 -05:00
parent 2d48cf6771
commit 8d144f8945
+4 -3
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "Washington-University";
repo = "CiftiLib";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-xc2dpMse4SozYEV/w3rXCrh1LKpTThq5nHB2y5uAD0A=";
};
@@ -32,8 +32,9 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DCMAKE_CTEST_ARGUMENTS=--exclude-regex;'big|datatype-md5'" ];
# error: no member named 'file_string' in 'boost::filesystem::path'
env.NIX_CFLAGS_COMPILE = "-UCIFTILIB_BOOST_NO_FSV3";
# error: no member named 'file_string' in 'boost::filesystem::path';
# error: 'class boost::filesystem::path' has no member named 'normalize', resp.
env.NIX_CFLAGS_COMPILE = "-UCIFTILIB_BOOST_NO_FSV3 -UCIFTILIB_BOOST_NO_CANONICAL";
doCheck = true;