mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
5 lines
167 B
Bash
5 lines
167 B
Bash
# Fix 'failed to open: /homeless-shelter/.cargo/.package-cache' in rust 1.36.
|
|
if [[ -z ${IN_NIX_SHELL-} && -z ${CARGO_HOME-} ]]; then
|
|
export CARGO_HOME=$TMPDIR
|
|
fi
|