Mercurial > code > home > repos > homeauto
diff service/iot2/tasks.py @ 691:ae8ad2b758e2
iot2: WIP still. more messages schema
Ignore-this: ef94336852ff8885df861146fc1b01b
author | drewp@bigasterisk.com |
---|---|
date | Wed, 29 Jan 2020 01:03:40 -0800 |
parents | e3eceee54937 |
children | 17ff9322328b |
line wrap: on
line diff
--- a/service/iot2/tasks.py Wed Jan 29 01:02:06 2020 -0800 +++ b/service/iot2/tasks.py Wed Jan 29 01:03:40 2020 -0800 @@ -44,7 +44,9 @@ if all(Path(f'~/.nimble/pkgs/{pkg[1]}').expanduser().exists() for pkg in pkgs): return plain_names = ' '.join(p[0] for p in pkgs) - ctx.run(f'{NIM_BIN}/nimble install -y {plain_names}', pty=True) + print('todo: on initial install, this may need to be run a few times') + ctx.run(f'{NIM_BIN}/nimble install -y {plain_names}', + pty=True, env={'PATH': f'/usr/bin:{NIM_BIN}'}) ctx.run(f'ln -s ~/.nimble/bin/capnpc ~/.nimble/bin/capnpc-nim')