mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
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
This commit is contained in:
parent
260d97ca25
commit
8e2a4e0948
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user