rustc: Add setup hook to set $CARGO_HOME
This works around 'failed to open: /homeless-shelter/.cargo/.package-cache' with Rust 1.36 even when we're using 'cargo --frozen'.
This commit is contained in:
@@ -206,6 +206,8 @@ in stdenv.mkDerivation rec {
|
||||
# https://github.com/rust-lang/rust/issues/30181
|
||||
# enableParallelBuilding = false;
|
||||
|
||||
setupHooks = ./setup-hook.sh;
|
||||
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user