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;
|
LIBGIT2_SYS_USE_PKG_CONFIG=1;
|
||||||
|
|
||||||
configurePhase = ''
|
|
||||||
./configure --enable-optimize --prefix=$out
|
|
||||||
'';
|
|
||||||
|
|
||||||
buildPhase = "make";
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
make install
|
|
||||||
${postInstall}
|
|
||||||
'';
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
rm "$out/lib/rustlib/components" \
|
rm "$out/lib/rustlib/components" \
|
||||||
"$out/lib/rustlib/install.log" \
|
"$out/lib/rustlib/install.log" \
|
||||||
|
Loading…
Reference in New Issue
Block a user