From 8e2a4e09486965001f938f3a37f6a9aaeb875ec6 Mon Sep 17 00:00:00 2001 From: Reno Reckling Date: Wed, 11 Jan 2017 12:33:53 +0100 Subject: [PATCH] cargo: do not make install in cargo (#21799) cargo is already a cargo package, so why not build it with cargo and safe us the special cases --- pkgs/development/compilers/rust/cargo.nix | 11 ----------- 1 file changed, 11 deletions(-) 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" \