I hereby claim:
- I am jurraca on github.
- I am jurraca (https://keybase.io/jurraca) on keybase.
- I have a public key ASB6X0GduVi1kiUx00LkAuPmD7mrNXd5IJtRejPeWV998Qo
To claim this, I am signing this object:
Verifying my Blockstack ID is secured with the address 12YdpT23H9gxa3nC8pCSoAa3ffgKXVbQC9 https://explorer.blockstack.org/address/12YdpT23H9gxa3nC8pCSoAa3ffgKXVbQC9 |
I hereby claim:
To claim this, I am signing this object:
def run_test(self): | |
# ... lines 138-208 | |
self.log.info("Mine another block, and check that node 2 receives it") | |
# setup p2p connection for node 1 | |
peer_messaging = self.nodes[1].add_p2p_connection(BaseNode()) | |
# create new block | |
new_block = create_block(self.tip, create_coinbase(height+1), self.block_time) | |
new_block.solve() | |
# broadcast the block message | |
block_message = msg_block(new_block) |
NixOS is supported on the Pi 4 as an aarch-64 image. Read more here.
Currently, the builds running on Hydra are broken past linux kernel version 5.10, so we'll stick to that version.
Look for a successfully building image on the Hydra website.
(Check that you're downloading the 5.10 Linux kernel.)
For example, this guide was built with this build: https://hydra.nixos.org/build/157989162
The image is compressed with zstd
. Download and run unzstd
to uncompress, or with Nix nix-shell -p zstd --run "unzstd -d .img.zst"
.
Make it a flake.
This explanation from the Zero-to-Nix flake entry is good:
"A Nix flake is a directory with a flake.nix
and flake.lock
at the root that outputs Nix expressions that others can use to do things like build packages, run programs, use development environments, or stand up NixOS systems. If necessary, flakes can use the outputs of other flakes as inputs."
A flake is a directory, and makes most sense when that directory is also a git source tree.