From: Jörg Thalheim Date: Fri, 16 Jun 2023 06:17:00 +0000 (+0200) Subject: nix: replace deprecated cargo/rustc aliases with new version X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=6a1ae0e91b7f17d272f346f6200c89073ea2ce4f;p=bcachefs-tools-debian nix: replace deprecated cargo/rustc aliases with new version --- diff --git a/build.nix b/build.nix index a757fef..efb5d73 100644 --- a/build.nix +++ b/build.nix @@ -13,6 +13,8 @@ , lz4 , nix-gitignore , rustPlatform +, rustc +, cargo }: let @@ -28,9 +30,9 @@ in stdenv.mkDerivation { nativeBuildInputs = [ pkg-config + cargo + rustc rustPlatform.cargoSetupHook - rustPlatform.rust.cargo - rustPlatform.rust.rustc rustPlatform.bindgenHook ];