unified-memory-framework: move NIX_LDFLAGS into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-08 22:39:48 +01:00
parent 4060dceed6
commit 3bbc249d09
@@ -125,11 +125,13 @@ stdenv.mkDerivation (finalAttrs: {
doCheck = true;
dontUseNinjaCheck = true;
NIX_LDFLAGS = lib.optionalString finalAttrs.doCheck "-rpath ${
lib.makeLibraryPath [
onetbb
]
}";
env = lib.optionalAttrs finalAttrs.doCheck {
NIX_LDFLAGS = "-rpath ${
lib.makeLibraryPath [
onetbb
]
}";
};
disabledTests = [
# These tests try to access sysfs, which is unavailable in the sandbox