aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-06-16 08:17:00 +0200
committerJörg Thalheim <joerg@thalheim.io>2023-06-16 13:57:15 +0200
commit6a1ae0e91b7f17d272f346f6200c89073ea2ce4f (patch)
treeadf456eb56eb4d49d14704d2114f1178f4d7edf0
parentc6a162e4b097dc2f5bc5cc80bb86ca768187633d (diff)
downloadbcachefs-tools-6a1ae0e91b7f17d272f346f6200c89073ea2ce4f.tar.gz
nix: replace deprecated cargo/rustc aliases with new version
-rw-r--r--build.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.nix b/build.nix
index a757fefe..efb5d735 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
];