forked from mirrors/nixpkgs
cargo: Install man page
... as well as other artifacts.
This commit is contained in:
parent
9e19e5dc98
commit
e6561c5fb1
|
@ -34,7 +34,7 @@ stdenv.mkDerivation {
|
|||
|
||||
installPhase = ''
|
||||
mkdir -p "$out"
|
||||
cp -r cargo/bin "$out/bin"
|
||||
./install.sh "--prefix=$out"
|
||||
'' + (if stdenv.isLinux then ''
|
||||
patchelf --interpreter "${stdenv.glibc}/lib/${stdenv.cc.dynamicLinker}" \
|
||||
--set-rpath "${stdenv.cc.cc}/lib/:${stdenv.cc.cc}/lib64/:${zlib}/lib" \
|
||||
|
|
Loading…
Reference in a new issue