···16 hash = "sha512-f7tBgIykcIdkwcFjBKk5ooD/5Bsyrd/0OFr7LNCwWFYeE4DH3XA7UR7YjArkwqUVCVBByr82EOaacw0g1blOkw==";
17 };
180000000019 nativeBuildInputs = [ cmake pkg-config ];
20 cmakeFlags = [
21+ # -DARM64=ON disables all targets that only build on 32-bit ARM; this allows
22+ # the package to build on aarch64 and other architectures
23+ "-DARM64=${if stdenv.hostPlatform.isAarch32 then "OFF" else "ON"}"
24 "-DVMCS_INSTALL_PREFIX=${placeholder "out"}"
25 ];
26