forked from lix-project/lix-installer
fix binary cache test on old python versions
This commit is contained in:
parent
cd42c70501
commit
731ad9d4ee
|
@ -142,9 +142,11 @@ let
|
||||||
scp -P 20022 $ssh_opts -r ${binaryCache} vagrant@localhost:binaryCache
|
scp -P 20022 $ssh_opts -r ${binaryCache} vagrant@localhost:binaryCache
|
||||||
'';
|
'';
|
||||||
install = ''
|
install = ''
|
||||||
python3 -m http.server -d binaryCache 8000 &
|
pushd binaryCache
|
||||||
|
python3 -m http.server 8000 &
|
||||||
server_pid=$!
|
server_pid=$!
|
||||||
trap "kill $server_pid" EXIT
|
trap "kill $server_pid" EXIT
|
||||||
|
popd
|
||||||
sleep 1
|
sleep 1
|
||||||
RUST_BACKTRACE="full" ./nix-installer install \
|
RUST_BACKTRACE="full" ./nix-installer install \
|
||||||
--use-substituters \
|
--use-substituters \
|
||||||
|
|
Loading…
Reference in a new issue