diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix index 2b544d754d79..f0d7e0dabc27 100644 --- a/pkgs/development/compilers/rust/cargo.nix +++ b/pkgs/development/compilers/rust/cargo.nix @@ -23,17 +23,6 @@ rustPlatform.buildRustPackage rec { LIBGIT2_SYS_USE_PKG_CONFIG=1; - configurePhase = '' - ./configure --enable-optimize --prefix=$out - ''; - - buildPhase = "make"; - - installPhase = '' - make install - ${postInstall} - ''; - postInstall = '' rm "$out/lib/rustlib/components" \ "$out/lib/rustlib/install.log" \