propagate CARGO_HOME to multiple board build commands

This commit is contained in:
Sebastien Bourdeauducq 2019-02-19 21:20:57 +08:00
parent 7ade154330
commit c101a8c8c1

View File

@ -48,7 +48,7 @@ in pkgs.python3Packages.buildPythonPackage rec {
phases = [ "buildPhase" "installPhase" ]; phases = [ "buildPhase" "installPhase" ];
buildPhase = buildPhase =
'' ''
${buildenv}/bin/artiq-dev -c "CARGO_HOME=${cargoVendored} ${buildCommand}" ${buildenv}/bin/artiq-dev -c "export CARGO_HOME=${cargoVendored}; ${buildCommand}"
''; '';
installPhase = installPhase =
'' ''