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
1 changed files with 1 additions and 1 deletions

View File

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