Each section should be run as the user or as root, pay attention to which one!
As $USER
curl https://nixos.org/nix/install | sh
{ stdenv, fetchurl, dpkg, patchelf, libusb1 }: | |
stdenv.mkDerivation rec { | |
name = "adept-${version}"; | |
version = "2.16.5"; | |
src = | |
if stdenv.system == "x86_64-linux" then | |
fetchurl { | |
url = "http://cloud.digilentinc.com/Software/Adept2+Runtime/${version}/digilent.adept.runtime_${version}-amd64.deb"; |
{ config, pkgs, ... }: | |
let | |
minio-dir = "/data/minio"; | |
minio-data = "${minio-dir}/data"; | |
minio-config = "${minio-dir}/config"; | |
minio-port = "9002"; | |
region = "ap-southeast-1"; | |
# This bucket will be present in the instance |
Sweet hibiscus | |
Edeltanne | |
Red fir | |
Amoeba | |
Horseface loach | |
Hawk moth | |
Macaw palm | |
Green stink bug | |
African jacana | |
Neotropical harvestman |
{-# LANGUAGE LambdaCase #-} | |
module Main where | |
import Data.Traversable | |
import System.Environment | |
import Data.Foldable | |
data A | |
= N |
/dts-v1/; | |
/plugin/; | |
/ { | |
fragment@0 { | |
target-path = "/soc/base_fpga_region"; | |
#address-cells = <1>; | |
#size-cells = <1>; | |
__overlay__ { | |
#address-cells = <1>; | |
#size-cells = <1>; |
A quick recap of where we got to:
The party was contracted by the dwarf Gundren Rockseeker to deliver intact a cartload of provisions from Neverwinter to the town of Phandalin. Gundren claimed to have discovered "something big" near Phandalin and went ahead of the party.
On the way to Phandalin, with about one day's march remaining, the party was ambushed by goblins who were quickly dispatched. One goblin was taken prisoner and cruelly interrogated; he revealed the existence of
$ qemu-system-aarch64 -machine virt,highmem=off -bios /nix/store/il3mvs5j09rp7bja9j26ra746ll121qp-uboot-qemu_arm64_defconfig-2018.05/u-boot.bin -drive if=none,file=rpi.qcow2,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0 -netdev user,id=net0 -device virtio-net-pci,netdev=net0 -nographic -smp 4 -m 2G -cpu cortex-a57 | |
U-Boot 2018.05 (May 07 2018 - 15:32:36 +0000) | |
DRAM: 2 GiB | |
In: pl011@9000000 | |
Out: pl011@9000000 | |
Err: pl011@9000000 | |
Net: No ethernet found. |
$ qemu-system-aarch64 -machine virt,highmem=off -bios /nix/store/il3mvs5j09rp7bja9j26ra746ll121qp-uboot-qemu_arm64_defconfig-2018.05/u-boot.bin -drive if=none,file=rpi.qcow2,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0 -netdev user,id=net0 -device virtio-net-pci,netdev=net0 -nographic -smp 4 -m 2G -cpu cortex-a57 | |
U-Boot 2018.05 (May 07 2018 - 15:32:36 +0000) | |
DRAM: 2 GiB | |
In: pl011@9000000 | |
Out: pl011@9000000 | |
Err: pl011@9000000 | |
Net: No ethernet found. |
$ qemu-system-aarch64 -machine virt,highmem=off -bios /nix/store/il3mvs5j09rp7bja9j26ra746ll121qp-uboot-qemu_arm64_defconfig-2018.05/u-boot.bin -drive if=none,file=rpi.qcow2,id=mydisk -device ich9-ahci,id=ahci -device ide-drive,drive=mydisk,bus=ahci.0 -netdev user,id=net0 -device virtio-net-pci,netdev=net0 -nographic -smp 4 -m 2G -cpu cortex-a57 | |
U-Boot 2018.05 (May 07 2018 - 15:32:36 +0000) | |
DRAM: 2 GiB | |
In: pl011@9000000 | |
Out: pl011@9000000 | |
Err: pl011@9000000 | |
Net: No ethernet found. |