From 5e06b3cb197047072fc25e0eb1a507bbd7bf847e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 12 May 2023 14:17:16 +0000 Subject: treewide: don't use rustPlatform.rust This will be deprecated in the next commit. --- pkgs/tools/networking/mozillavpn/default.nix | 6 ++++-- pkgs/tools/networking/zerotierone/default.nix | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'pkgs/tools/networking') diff --git a/pkgs/tools/networking/mozillavpn/default.nix b/pkgs/tools/networking/mozillavpn/default.nix index 06263bfa107..dd8ce048af0 100644 --- a/pkgs/tools/networking/mozillavpn/default.nix +++ b/pkgs/tools/networking/mozillavpn/default.nix @@ -1,4 +1,5 @@ { buildGoModule +, cargo , cmake , fetchFromGitHub , go @@ -14,6 +15,7 @@ , qttools , qtwebsockets , rustPlatform +, rustc , stdenv , wireguard-tools , wrapQtAppsHook @@ -77,8 +79,8 @@ stdenv.mkDerivation { python3.pkgs.pyyaml python3.pkgs.setuptools rustPlatform.cargoSetupHook - rustPlatform.rust.cargo - rustPlatform.rust.rustc + cargo + rustc wrapQtAppsHook ]; diff --git a/pkgs/tools/networking/zerotierone/default.nix b/pkgs/tools/networking/zerotierone/default.nix index 3cac207a0df..40901804e97 100644 --- a/pkgs/tools/networking/zerotierone/default.nix +++ b/pkgs/tools/networking/zerotierone/default.nix @@ -4,11 +4,13 @@ , fetchFromGitHub , buildPackages +, cargo , iproute2 , lzo , openssl , pkg-config , ronn +, rustc , zlib }: @@ -53,8 +55,8 @@ in stdenv.mkDerivation { pkg-config ronn rustPlatform.cargoSetupHook - rustPlatform.rust.cargo - rustPlatform.rust.rustc + cargo + rustc ]; buildInputs = [ iproute2 -- cgit 1.4.1