pkgs/build-support/rust: fix warning-related eval issue
This commit is contained in:
parent
3736dd89d4
commit
105933cf4f
@ -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" ];
|
||||
|
Loading…
Reference in New Issue
Block a user