about summary refs log tree commit diff
path: root/pkgs/development/compilers/rust/make-rust-platform.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/rust/make-rust-platform.nix')
-rw-r--r--pkgs/development/compilers/rust/make-rust-platform.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/pkgs/development/compilers/rust/make-rust-platform.nix b/pkgs/development/compilers/rust/make-rust-platform.nix
deleted file mode 100644
index 6ed724aae821..000000000000
--- a/pkgs/development/compilers/rust/make-rust-platform.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ lib, buildPackages, callPackage, callPackages, cargo-auditable, stdenv, runCommand }@prev:
-
-{ rustc
-, cargo
-, cargo-auditable ? prev.cargo-auditable
-, stdenv ? prev.stdenv
-, ...
-}:
-
-rec {
-  rust = {
-    rustc = lib.warn "rustPlatform.rust.rustc is deprecated. Use rustc instead." rustc;
-    cargo = lib.warn "rustPlatform.rust.cargo is deprecated. Use cargo instead." cargo;
-  };
-
-  fetchCargoTarball = buildPackages.callPackage ../../../build-support/rust/fetch-cargo-tarball {
-    git = buildPackages.gitMinimal;
-    inherit cargo;
-  };
-
-  buildRustPackage = callPackage ../../../build-support/rust/build-rust-package {
-    inherit stdenv cargoBuildHook cargoCheckHook cargoInstallHook cargoNextestHook cargoSetupHook
-      fetchCargoTarball importCargoLock rustc cargo cargo-auditable;
-  };
-
-  importCargoLock = buildPackages.callPackage ../../../build-support/rust/import-cargo-lock.nix { inherit cargo; };
-
-  rustcSrc = callPackage ./rust-src.nix {
-    inherit runCommand rustc;
-  };
-
-  rustLibSrc = callPackage ./rust-lib-src.nix {
-    inherit runCommand rustc;
-  };
-
-  # Hooks
-  inherit (callPackages ../../../build-support/rust/hooks {
-    inherit stdenv cargo rustc;
-  }) cargoBuildHook cargoCheckHook cargoInstallHook cargoNextestHook cargoSetupHook maturinBuildHook bindgenHook;
-}