lol
fork

Configure Feed

Select the types of activity you want to include in your feed.

buildRustPackage: warn on explicit useFetchCargoVendor

+5 -1
+5 -1
pkgs/build-support/rust/build-rust-package/default.nix
··· 72 72 }@args: 73 73 74 74 assert lib.assertMsg useFetchCargoVendor 75 - "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05"; 75 + "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05, remove it"; 76 + 77 + assert lib.warnIf (args ? useFetchCargoVendor) 78 + "buildRustPackage: `useFetchCargoVendor` is non‐optional and enabled by default as of 25.05, remove it" 79 + true; 76 80 77 81 lib.optionalAttrs (stdenv.hostPlatform.isDarwin && buildType == "debug") { 78 82 RUSTFLAGS = "-C split-debuginfo=packed " + (args.RUSTFLAGS or "");