fix: remove un-needed env vars that crane sets automatically

This commit is contained in:
Henry-Hiles authored and Ellis Git committed 2026-06-20 02:43:52 +00:00
1 parent 6ee501ac69
commit 02c61b3840
1 file changed
-4
-4
View File
@@ -38,10 +38,6 @@ let
CARGO_PROFILE = profile;
RUSTFLAGS = rustflags;
}
// (lib.optionalAttrs stdenv.hostPlatform.isStatic {
CARGO_BUILD_TARGET = "x86_64-unknown-linux-musl";
CARGO_BUILD_RUSTFLAGS = "-C target-feature=+crt-static";
})
// (lib.optionalAttrs (target_cpu != null) {
TARGET_CPU = target_cpu;
});