@@ -1,5 +1,5 @@
11{ stdenv, file, curl, pkgconfig, python3, openssl, cmake, zlib
2−, makeWrapper, libiconv, cacert, rustPlatform, rustc
2+, installShellFiles, makeWrapper, libiconv, cacert, rustPlatform, rustc
33, CoreFoundation, Security
44}:
55
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage {
1717 # changes hash of vendor directory otherwise
1818 dontUpdateAutotoolsGnuConfigScripts = true;
1919
20− nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
20+ nativeBuildInputs = [ pkgconfig cmake installShellFiles makeWrapper ];
2121 buildInputs = [ cacert file curl python3 openssl zlib ]
2222 ++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security libiconv ];
2323
@@ -37,6 +37,8 @@ rustPlatform.buildRustPackage {
3737 --suffix PATH : "${rustc}/bin" \
3838 --set CARGO_HTTP_CAINFO "${cacert}/etc/ssl/certs/ca-bundle.crt" \
3939 --set SSL_CERT_FILE "${cacert}/etc/ssl/certs/ca-bundle.crt"
40+
41+ installManPage src/tools/cargo/src/etc/man/*
4042 '';
4143
4244 checkPhase = ''