boost187: Fix ABI detection for empty 'os.platform'

This commit is contained in:
aleksana 2025-04-25 00:01:57 +08:00
parent b9a3d17691
commit f6d7faef58

View file

@ -233,6 +233,13 @@ stdenv.mkDerivation {
relative = "include";
hash = "sha256-9JvKQOAB19wQpWLNAhuB9eL8qKqXWTQHAJIXdLYMNG8=";
})
# Fixes ABI detection on some platforms (like loongarch64)
(fetchpatch {
url = "https://github.com/boostorg/context/commit/63996e427b4470c7b99b0f4cafb94839ea3670b6.patch";
stripLen = 1;
extraPrefix = "libs/context/";
hash = "sha256-Z8uw2+4IEybqVcU25i/0XJKS16hi/+3MXUxs53ghjL0=";
})
];
meta = with lib; {