From c101a8c8c1626b9a93f5537b12882db2db738512 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 19 Feb 2019 21:20:57 +0800 Subject: [PATCH] propagate CARGO_HOME to multiple board build commands --- artiq/artiq-board.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/artiq-board.nix b/artiq/artiq-board.nix index 59f9da6..78b6b76 100644 --- a/artiq/artiq-board.nix +++ b/artiq/artiq-board.nix @@ -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 = ''