| 25 Jul 2023 |
moots | oh so cross built stuff has different hashes ? hm can i only cross build missing packages somehow? | 18:13:01 |
ulli | no | 18:15:38 |
ulli | when instantiating, nix doesn't know yet what's available on the cache and what isn't | 18:16:05 |
ulli | <obligatory * screams in impurity * > | 18:16:39 |
ulli | but you can generally use a native system and manually add a few packages from crossPkgs to that. | 18:17:25 |
ulli | you can also override some of the inputs of the cross-derivation you want to build with the native versions again | 18:19:56 |
moots | hmm tried the binfmt way of emulating aarch64 | 18:24:20 |
moots | ❯ cat ~/.config/nix/nix.conf
experimental-features = nix-command flakes
trusted-binary-caches = https://cache.nixos.org
extra-platforms = ["qemu-user"]
❯ ls /proc/sys/fs/binfmt_misc
qemu-aarch64 qemu-arm qemu-hppa qemu-microblaze qemu-mips64 qemu-mipsn32 qemu-ppc qemu-riscv32 qemu-sh4 qemu-sparc32plus qemu-xtensaeb
qemu-aarch64_be qemu-armeb qemu-loongarch64 qemu-microblazeel qemu-mips64el qemu-mipsn32el qemu-ppc64 qemu-riscv64 qemu-sh4eb qemu-sparc64 register
qemu-alpha qemu-hexagon qemu-m68k qemu-mips qemu-mipsel qemu-or1k qemu-ppc64le qemu-s390x qemu-sparc qemu-xtensa status
if thats even viable
| 18:25:13 |
moots | * ❯ cat ~/.config/nix/nix.conf
experimental-features = nix-command flakes
trusted-binary-caches = https://cache.nixos.org
extra-platforms = ["qemu-user"]
❯ ls /proc/sys/fs/binfmt_misc
qemu-aarch64 qemu-arm qemu-hppa qemu-microblaze qemu-mips64 qemu-mipsn32 qemu-ppc qemu-riscv32 qemu-sh4 qemu-sparc32plus qemu-xtensaeb
qemu-aarch64_be qemu-armeb qemu-loongarch64 qemu-microblazeel qemu-mips64el qemu-mipsn32el qemu-ppc64 qemu-riscv64 qemu-sh4eb qemu-sparc64 register
qemu-alpha qemu-hexagon qemu-m68k qemu-mips qemu-mipsel qemu-or1k qemu-ppc64le qemu-s390x qemu-sparc qemu-xtensa status
error: a 'aarch64-linux' with features {} is required to build '/nix/store/nq4mx8myrqkz2a4bpmr0gifq8jncq32g-append-initrd-secrets.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, uid-range}
if thats even viable
| 18:25:38 |
moots | extra-platforms aarch64-linux also same message | 18:26:14 |
moots | not sure how it could work outsid enixos | 18:26:22 |
ulli | I don't think extra-platforms can be set in the user config for multi-user installations | 18:29:51 |
ulli | as it really as a setting for the daemon. | 18:29:57 |
moots | nix show-config
accept-flake-config = false
access-tokens =
allow-dirty = true
allow-import-from-derivation = true
allow-new-privileges = false
allow-symlinked-store = false
allow-unsafe-native-code-during-evaluation = false
allowed-impure-host-deps =
allowed-uris =
allowed-users = *
auto-allocate-uids = false
auto-optimise-store = false
bash-prompt =
bash-prompt-prefix =
bash-prompt-suffix =
build-hook = /nix/store/q6r9kwmidiy6wx1w1nf3ff0q40sfq4dg-nix-2.15.1/bin/nix __build-remote
build-poll-interval = 5
build-users-group =
builders = @/etc/nix/machines
builders-use-substitutes = false
commit-lockfile-summary =
compress-build-log = true
connect-timeout = 0
cores = 20
diff-hook =
download-attempts = 5
download-speed = 0
eval-cache = true
experimental-features = flakes nix-command
extra-platforms = ["qemu-user"]
fallback = false
filter-syscalls = true
flake-registry = https://channels.nixos.org/flake-registry.json
fsync-metadata = true
gc-reserved-space = 8388608
hashed-mirrors =
http-connections = 25
http2 = true
id-count = 8388608
ignore-try = false
ignored-acls = security.csm security.selinux system.nfs4_acl
impersonate-linux-26 = false
keep-build-log = true
keep-derivations = true
keep-env-derivations = false
keep-failed = false
keep-going = false
keep-outputs = false
log-lines = 10
max-build-log-size = 0
max-free = 18446744073709551615
max-jobs = 1
max-silent-time = 0
min-free = 0
min-free-check-interval = 5
nar-buffer-size = 33554432
narinfo-cache-negative-ttl = 3600
narinfo-cache-positive-ttl = 2592000
netrc-file = /etc/nix/netrc
nix-path = /home/fabi/.nix-defexpr/channels
plugin-files =
post-build-hook =
pre-build-hook =
preallocate-contents = false
print-missing = true
pure-eval = true
require-sigs = true
restrict-eval = false
run-diff-hook = false
sandbox = true
sandbox-build-dir = /build
sandbox-dev-shm-size = 50%
sandbox-fallback = true
sandbox-paths = /bin/sh=/nix/store/q9iqbf8fg6wa50qka0zx82lxdi309s7k-busybox-static-x86_64-unknown-linux-musl-1.36.1/bin/busybox
secret-key-files =
show-trace = false
ssl-cert-file = /etc/ssl/certs/ca-certificates.crt
stalled-download-timeout = 300
start-id = 872415232
store = auto
substitute = true
substituters = https://cache.nixos.org/
sync-before-registering = false
system = x86_64-linux
system-features = benchmark big-parallel kvm nixos-test uid-range
tarball-ttl = 3600
timeout = 0
trace-function-calls = false
trace-verbose = false
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
trusted-substituters = https://cache.nixos.org
trusted-users = root
use-case-hack = false
use-cgroups = false
use-registries = true
use-sqlite-wal = true
use-xdg-base-directories = false
user-agent-suffix =
warn-dirty = true
| 18:32:26 |
moots | i guess its a single user install | 18:33:24 |
moots | ahhh the issues been the quotes | 18:36:22 |
moots | * ahhh the issues been the quotes n array syntax... | 18:36:42 |
moots | works | 18:37:38 |
| pbsds changed their display name from pbsds to pbsds (UTC+1). | 19:03:43 |
| 26 Jul 2023 |
| @nikdo:matrix.org joined the room. | 06:19:45 |
| 27 Jul 2023 |
| ribosomerocker joined the room. | 02:59:21 |
| 28 Jul 2023 |
| @mokasin:mokasin.de joined the room. | 13:56:03 |
| 30 Jul 2023 |
| @kyub:matrix.org joined the room. | 18:01:36 |
| Austin Horstman joined the room. | 20:02:59 |
| Austin Horstman changed their display name from Austin Horstman to Khaneliman. | 20:09:56 |
| Austin Horstman set a profile picture. | 20:12:04 |
| 31 Jul 2023 |
| @bumperboat:matrix.org joined the room. | 05:14:35 |
| pinealservo joined the room. | 10:16:31 |
| 1 Aug 2023 |
| Christina Sørensen joined the room. | 11:09:11 |
| Charles changed their profile picture. | 01:12:22 |