buildRustCreate: export RUSTDOC during cargo config
See https://github.com/NixOS/nixpkgs/pull/50452#issuecomment-443455411 Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
2a22554092
commit
3aa9091162
@ -73,6 +73,7 @@ in ''
|
||||
export CARGO_PKG_VERSION_PATCH=${builtins.elemAt version 2}
|
||||
export NUM_JOBS=1
|
||||
export RUSTC="rustc"
|
||||
export RUSTDOC="rustdoc"
|
||||
if [[ -n "${versionPre}" ]]; then
|
||||
export CARGO_PKG_VERSION_PRE="${versionPre}"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user