forked from M-Labs/nix-scripts
propagate CARGO_HOME to multiple board build commands
This commit is contained in:
parent
7ade154330
commit
c101a8c8c1
|
@ -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 =
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in New Issue