Loading pkgs/build-support/rust/build-rust-package/default.nix +5 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,11 @@ lib.extendMkDerivation { }@args: assert lib.assertMsg useFetchCargoVendor "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05"; "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05, remove it"; assert lib.warnIf (args ? useFetchCargoVendor) "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05, remove it" true; lib.optionalAttrs (stdenv.hostPlatform.isDarwin && buildType == "debug") { RUSTFLAGS = "-C split-debuginfo=packed " + (args.RUSTFLAGS or ""); Loading Loading
pkgs/build-support/rust/build-rust-package/default.nix +5 −1 Original line number Diff line number Diff line Loading @@ -72,7 +72,11 @@ lib.extendMkDerivation { }@args: assert lib.assertMsg useFetchCargoVendor "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05"; "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05, remove it"; assert lib.warnIf (args ? useFetchCargoVendor) "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05, remove it" true; lib.optionalAttrs (stdenv.hostPlatform.isDarwin && buildType == "debug") { RUSTFLAGS = "-C split-debuginfo=packed " + (args.RUSTFLAGS or ""); Loading