]> git.sesse.net Git - bcachefs-tools-debian/commitdiff
nix: replace deprecated cargo/rustc aliases with new version
authorJörg Thalheim <joerg@thalheim.io>
Fri, 16 Jun 2023 06:17:00 +0000 (08:17 +0200)
committerJörg Thalheim <joerg@thalheim.io>
Fri, 16 Jun 2023 11:57:15 +0000 (13:57 +0200)
build.nix

index a757fefeab497f684ec32a7fe2688f793f730a0d..efb5d7359040d5a88fd0701ff0ebf06bee84d054 100644 (file)
--- 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
   ];