Open dustinlyons opened 1 year ago
I'm inspecting the live installer ISO, the target of the remote build.
Running nix show-config:
extra-platforms = i686-linux x86_64-v1-linux x86_64-v2-linux x86_64-v3-linux x86_64-v4-linux
system = x86_64-linux
I get similar issues when calling --build-on-remote
when building for x86_64-linux on M3 mac. The nixos-configuration is gdrn from here https://github.com/multivac61/nixos-config.
The same configuration builds fine from another nixos x86 machine.
error:
… while calling the 'head' builtin
at /nix/store/q43321jn4spvsf1vzmiv56cgm4wgiss3-source/lib/attrsets.nix:1575:11:
1574| || pred here (elemAt values 1) (head values) then
1575| head values
| ^
1576| else
… while evaluating the attribute 'value'
at /nix/store/q43321jn4spvsf1vzmiv56cgm4wgiss3-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: a 'x86_64-linux' with features {} is required to build '/nix/store/s4hs4qxwr3snrcfg5f6dsp41nhb5fczi-converted.json.drv', but I am a 'aarch64-darwin' with features {apple-virt, benchmark, big-parallel, nixos-test}
Describe the bug
When trying to build my
x86_64-linux
machine from my M1 Macbook, I get the following error:Previously I was able to build this system successfully if running locally. The
x86_64-linux
machine in question is a local bare metal PC in my office, running the latest NixOS installer (23.05).I'm unsure why
i686-linux
is being targeted here.To Reproduce
Steps to reproduce the behavior:
I ran this on my local LAN:
nix run github:dustinlyons/nixos-anywhere -- root@192.168.0.134 --flake .#felix --build-on-remote -L
Expected behavior
I expect the system closure to be built. I'm unsure why
ffmpeg
headers are being targeted fori686-linux
.System information
Here's my code: https://github.com/dustinlyons/nixos-config
Additional context
Logs: