packages: fix rustPlatform.rust.* deprecation warning

This commit is contained in:
Max Headroom 2023-06-03 19:11:44 +02:00
parent 445d44c3e1
commit f1e4c743ee
4 changed files with 16 additions and 8 deletions

View file

@ -7,6 +7,8 @@
, gettext , gettext
, python3 , python3
, rustPlatform , rustPlatform
, rustc
, cargo
, pkg-config , pkg-config
, glib , glib
, libhandy , libhandy
@ -41,9 +43,9 @@ stdenv.mkDerivation rec {
ninja ninja
pkg-config pkg-config
python3 python3
rustPlatform.rust.cargo cargo
rustPlatform.cargoSetupHook rustPlatform.cargoSetupHook
rustPlatform.rust.rustc rustc
wrapGAppsHook wrapGAppsHook
glib glib
]; ];

View file

@ -7,6 +7,8 @@
, gettext , gettext
, python3 , python3
, rustPlatform , rustPlatform
, rustc
, cargo
, pkg-config , pkg-config
, glib , glib
, libadwaita , libadwaita
@ -42,9 +44,9 @@ stdenv.mkDerivation rec {
ninja ninja
pkg-config pkg-config
python3 python3
rustPlatform.rust.cargo cargo
rustPlatform.cargoSetupHook rustPlatform.cargoSetupHook
rustPlatform.rust.rustc rustc
wrapGAppsHook wrapGAppsHook
glib glib
]; ];

View file

@ -11,6 +11,8 @@
, pkg-config , pkg-config
, python3 , python3
, rustPlatform , rustPlatform
, rustc
, cargo
, wrapGAppsHook , wrapGAppsHook
}: }:
@ -38,9 +40,9 @@ stdenv.mkDerivation rec {
ninja ninja
pkg-config pkg-config
python3 python3
rustPlatform.rust.cargo cargo
rustPlatform.cargoSetupHook rustPlatform.cargoSetupHook
rustPlatform.rust.rustc rustc
wrapGAppsHook wrapGAppsHook
]; ];

View file

@ -11,6 +11,8 @@
, pkg-config , pkg-config
, python3 , python3
, rustPlatform , rustPlatform
, rustc
, cargo
, wrapGAppsHook , wrapGAppsHook
}: }:
@ -38,9 +40,9 @@ stdenv.mkDerivation rec {
ninja ninja
pkg-config pkg-config
python3 python3
rustPlatform.rust.cargo cargo
rustPlatform.cargoSetupHook rustPlatform.cargoSetupHook
rustPlatform.rust.rustc rustc
wrapGAppsHook wrapGAppsHook
]; ];