diff options
Diffstat (limited to 'ci/ciimage/build.py')
| -rwxr-xr-x | ci/ciimage/build.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ci/ciimage/build.py b/ci/ciimage/build.py index 01979556d..559723c0c 100755 --- a/ci/ciimage/build.py +++ b/ci/ciimage/build.py @@ -74,6 +74,12 @@ class Builder(BuilderBase): # Also add /ci to PATH out_data += 'export PATH="/ci:$PATH"\n' + out_data += ''' + if [ -f "$HOME/.cargo/env" ]; then + source "$HOME/.cargo/env" + fi + ''' + out_file.write_text(out_data, encoding='utf-8') # make it executable |
