From f1e4c743ee6001f00e415b3d16f4c40e1fbaeae1 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 3 Jun 2023 19:11:44 +0200 Subject: [PATCH] packages: fix rustPlatform.rust.* deprecation warning --- packages/apps/identity/default.nix | 6 ++++-- packages/apps/obfuscate/default.nix | 6 ++++-- packages/apps/tubefeeder/default.nix | 6 ++++-- packages/apps/vaults/default.nix | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/packages/apps/identity/default.nix b/packages/apps/identity/default.nix index 2cb271c..e8443ef 100644 --- a/packages/apps/identity/default.nix +++ b/packages/apps/identity/default.nix @@ -7,6 +7,8 @@ , gettext , python3 , rustPlatform +, rustc +, cargo , pkg-config , glib , libhandy @@ -41,9 +43,9 @@ stdenv.mkDerivation rec { ninja pkg-config python3 - rustPlatform.rust.cargo + cargo rustPlatform.cargoSetupHook - rustPlatform.rust.rustc + rustc wrapGAppsHook glib ]; diff --git a/packages/apps/obfuscate/default.nix b/packages/apps/obfuscate/default.nix index 474828f..a2888db 100644 --- a/packages/apps/obfuscate/default.nix +++ b/packages/apps/obfuscate/default.nix @@ -7,6 +7,8 @@ , gettext , python3 , rustPlatform +, rustc +, cargo , pkg-config , glib , libadwaita @@ -42,9 +44,9 @@ stdenv.mkDerivation rec { ninja pkg-config python3 - rustPlatform.rust.cargo + cargo rustPlatform.cargoSetupHook - rustPlatform.rust.rustc + rustc wrapGAppsHook glib ]; diff --git a/packages/apps/tubefeeder/default.nix b/packages/apps/tubefeeder/default.nix index 206e996..cb5278d 100644 --- a/packages/apps/tubefeeder/default.nix +++ b/packages/apps/tubefeeder/default.nix @@ -11,6 +11,8 @@ , pkg-config , python3 , rustPlatform +, rustc +, cargo , wrapGAppsHook }: @@ -38,9 +40,9 @@ stdenv.mkDerivation rec { ninja pkg-config python3 - rustPlatform.rust.cargo + cargo rustPlatform.cargoSetupHook - rustPlatform.rust.rustc + rustc wrapGAppsHook ]; diff --git a/packages/apps/vaults/default.nix b/packages/apps/vaults/default.nix index 4a9b7c8..1fa0c87 100644 --- a/packages/apps/vaults/default.nix +++ b/packages/apps/vaults/default.nix @@ -11,6 +11,8 @@ , pkg-config , python3 , rustPlatform +, rustc +, cargo , wrapGAppsHook }: @@ -38,9 +40,9 @@ stdenv.mkDerivation rec { ninja pkg-config python3 - rustPlatform.rust.cargo + cargo rustPlatform.cargoSetupHook - rustPlatform.rust.rustc + rustc wrapGAppsHook ];