pkgs/build-support/rust: fix warning-related eval issue

This commit is contained in:
K900 2024-09-03 17:04:55 +03:00
parent 3736dd89d4
commit 105933cf4f

View File

@ -80,7 +80,7 @@ rec {
'';
};
} // lib.mapAttrs (old: new: platform:
lib.warn "`rust.${old} platform` is deprecated. Use `platform.rust.${new}` instead."
lib.warn "`rust.${old} platform` is deprecated. Use `platform.rust.${lib.showAttrPath new}` instead."
lib.getAttrFromPath new platform.rust)
{
toTargetArch = [ "platform" "arch" ];