Nix Flakes | 894 Members | |
| 181 Servers |
| Sender | Message | Time |
|---|---|---|
| 25 Jul 2023 | ||
| * literally just ran nix fmt, had error: a 'aarch64-linux' with features {} is required to build '/nix/store/jwjbb40ddsl8a7f335nz0h09a4inrdyj-mounts.sh.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, uid-range} | 17:46:32 | |
| * literally just ran nix fmt, had error: a 'aarch64-linux' with features {} is required to build '/nix/store/jwjbb40ddsl8a7f335nz0h09a4inrdyj-mounts.sh.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, uid-range} as error | 17:46:34 | |
| moots: are you trying to use aarch64-unknown-linu$-gnueabihf? | 17:46:40 | |
| because that is not a thing | 17:46:43 | |
| system = "aarch64-linux"; config = "aarch64-unknown-linux-gnu"; | 17:46:50 | |
| i think thats right im not sure | 17:46:59 | |
| that should be fine | 17:47:17 | |
| is mounts.sh a thing from disko? | 17:47:24 | |
| maybe, like i said the error vanished after a nixpkgs fmt | 17:47:41 | |
| moots: yeah, I know why I think | 17:48:18 | |
| building aarch64-unknown-linux-musl-binutils-2.40, hmm why musl n not glibc | 17:47:54 | |
| flake-parts gives you packages that don't cross build | 17:48:37 | |
| so in case this is from some package set instantiated by flake-parts, that won't work | 17:49:07 | |
| unsure why its not downloading from caches though, it seems to be building a lot atm | 18:02:01 | |
| also tried adding
it did query them, but didnt seem to download any | 18:02:22 | |
| my input is nixpkgs.url = "nixpkgs/nixos-23.05"; and every other input has inputs.nixpkgs.follows = "nixpkgs"; | 18:02:45 | |
| and accoridng to docs aarch64 should been in the cache | 18:03:28 | |
| there aren't really any caches for most cross stuff | 18:07:43 | |
| native aarch64 stuff is on the cache. | 18:08:11 | |
| oh so cross built stuff has different hashes ? hm can i only cross build missing packages somehow? | 18:13:01 | |
| no | 18:15:38 | |
| when instantiating, nix doesn't know yet what's available on the cache and what isn't | 18:16:05 | |
| <obligatory * screams in impurity * > | 18:16:39 | |
| but you can generally use a native system and manually add a few packages from crossPkgs to that. | 18:17:25 | |
| you can also override some of the inputs of the cross-derivation you want to build with the native versions again | 18:19:56 | |
| hmm tried the binfmt way of emulating aarch64 | 18:24:20 | |
if thats even viable | 18:25:13 | |
*
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 | |
| extra-platforms aarch64-linux also same message | 18:26:14 | |
| not sure how it could work outsid enixos | 18:26:22 | |