mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-29 13:41:05 +01:00
Add workaround description for host key error.
parent
37dafa237e
commit
4d6ae558ea
1 changed files with 14 additions and 1 deletions
|
|
@ -95,4 +95,17 @@ do
|
||||||
```
|
```
|
||||||
nix-build --expr '(with import <nixpkgs> { }; runCommand "foo" {} "env > $out")' --option system aarch64-linux --option sandbox false --extra-platforms aarch64-linux
|
nix-build --expr '(with import <nixpkgs> { }; runCommand "foo" {} "env > $out")' --option system aarch64-linux --option sandbox false --extra-platforms aarch64-linux
|
||||||
#cat /nix/store/<generated-store-path>-foo
|
#cat /nix/store/<generated-store-path>-foo
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Troubleshooting
|
||||||
|
|
||||||
|
In case you get similar errors:
|
||||||
|
|
||||||
|
>while setting up the build environment: executing '/nix/store/hg1plgwh2439jr117s5648fmgrvyc4kn-bootstrap-tools/bin/bash': Exec format error
|
||||||
|
|
||||||
|
look more further up the error log if there is:
|
||||||
|
|
||||||
|
>ED25519 host key for [localhost]:2222 has changed and you have requested strict checking.
|
||||||
|
Host key verification failed.
|
||||||
|
|
||||||
|
If so disable it either via `-o UserKnownHostsFile=/dev/null` and accepting the changed key or by adding `StrictHostKeyChecking no` to the host entry in `/~.ssh/config`. Probably you need to remove old host entries from the `~/.ssh/known_hosts `as well.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue