rutabaga_gfx: move CARGO_* env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-17 13:45:57 +01:00
parent 6ea1adbff5
commit 3ae21946e5
+4 -2
View File
@@ -58,8 +58,10 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonBool "gfxstream" withGfxstream)
];
CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec;
"CARGO_TARGET_${stdenv.hostPlatform.rust.cargoEnvVarTarget}_LINKER" = "${stdenv.cc.targetPrefix}cc";
env = {
CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec;
"CARGO_TARGET_${stdenv.hostPlatform.rust.cargoEnvVarTarget}_LINKER" = "${stdenv.cc.targetPrefix}cc";
};
preConfigure = ''
cd rutabaga_gfx/ffi