mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 09:02:24 +00:00
fix: remove un-needed env vars that crane sets automatically
This commit is contained in:
1 parent
6ee501ac69
commit
02c61b3840
1 file changed
-4
@@ -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;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user