!SgYlXivkogarTVcnZO:nixos.org

Nix Flakes

895 Members
182 Servers

Load older messages


SenderMessageTime
25 Jul 2023
@moots:matrix.orgmootsoh so cross built stuff has different hashes ? hm can i only cross build missing packages somehow?18:13:01
@ulli:hrnz.liullino18:15:38
@ulli:hrnz.liulliwhen instantiating, nix doesn't know yet what's available on the cache and what isn't18:16:05
@ulli:hrnz.liulli<obligatory * screams in impurity * >18:16:39
@ulli:hrnz.liullibut you can generally use a native system and manually add a few packages from crossPkgs to that.18:17:25
@ulli:hrnz.liulliyou can also override some of the inputs of the cross-derivation you want to build with the native versions again18:19:56
@moots:matrix.orgmootshmm tried the binfmt way of emulating aarch6418:24:20
@moots:matrix.orgmoots
❯ 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:matrix.orgmoots *
❯ 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:matrix.orgmootsextra-platforms aarch64-linux also same message18:26:14
@moots:matrix.orgmootsnot sure how it could work outsid enixos18:26:22
@ulli:hrnz.liulliI don't think extra-platforms can be set in the user config for multi-user installations18:29:51
@ulli:hrnz.liullias it really as a setting for the daemon.18:29:57
@moots:matrix.orgmoots
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:matrix.orgmootsi guess its a single user install18:33:24
@moots:matrix.orgmootsahhh the issues been the quotes18:36:22
@moots:matrix.orgmoots * ahhh the issues been the quotes n array syntax...18:36:42
@moots:matrix.orgmootsworks18:37:38
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (UTC+1).19:03:43
26 Jul 2023
@nikdo:matrix.org@nikdo:matrix.org joined the room.06:19:45
27 Jul 2023
@ribosomerocker:matrix.orgribosomerocker joined the room.02:59:21
28 Jul 2023
@mokasin:mokasin.de@mokasin:mokasin.de joined the room.13:56:03
30 Jul 2023
@kyub:matrix.org@kyub:matrix.org joined the room.18:01:36
@khaneliman:matrix.orgAustin Horstman joined the room.20:02:59
@khaneliman:matrix.orgAustin Horstman changed their display name from Austin Horstman to Khaneliman.20:09:56
@khaneliman:matrix.orgAustin Horstman set a profile picture.20:12:04
31 Jul 2023
@bumperboat:matrix.org@bumperboat:matrix.org joined the room.05:14:35
@pinealservo:matrix.orgpinealservo joined the room.10:16:31
1 Aug 2023
@cafkafk:nixos.devChristina Sørensen joined the room.11:09:11
@charles:computer.surgeryCharles changed their profile picture.01:12:22

Show newer messages


Back to Room ListRoom Version: 6