rdma-core: add static platforms to badPlatforms

rdma makes use of `dlopen` internally to load a "provider" plugin
based on the nic (intel, broadcom, etc). that's fundamentally
incompatible with static builds.
This commit is contained in:
Colin
2026-05-26 22:52:27 +00:00
parent c87c6a5382
commit ee0805035f

View File

@@ -78,6 +78,7 @@ stdenv.mkDerivation (finalAttrs: {
homepage = "https://github.com/linux-rdma/rdma-core";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.linux;
badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ];
maintainers = [ lib.maintainers.markuskowa ];
};
})