mobile-nixos
mobile-nixos copied to clipboard
`exec format error` after updating to latest unstable (24.05)
This started showing up in my CI building the disk-image a few days ago.
querying info about missing paths
building '/nix/store/p1j6vnp3bpi6snvwpspdcayijzi5yyk7-etc-man_db.conf.drv'
error: executing '/nix/store/lm10ywzflq9qfhr4fl0zqxrhiksf28ks-bash-5.2-p15/bin/bash': Exec format error
builder for '/nix/store/p1j6vnp3bpi6snvwpspdcayijzi5yyk7-etc-man_db.conf.drv' failed with exit code 1;
last 1 log lines:
> error: executing '/nix/store/lm10ywzflq9qfhr4fl0zqxrhiksf28ks-bash-5.2-p15/bin/bash': Exec format error
For full logs, run 'nix log /nix/store/p1j6vnp3bpi6snvwpspdcayijzi5yyk7-etc-man_db.conf.drv'.
[admin@a-guy-for-a-thing:~]$ nix log /nix/store/p1j6vnp3bpi6snvwpspdcayijzi5yyk7-etc-man_db.conf.drv^*
error: executing '/nix/store/lm10ywzflq9qfhr4fl0zqxrhiksf28ks-bash-5.2-p15/bin/bash': Exec format error
The relevant part of flake.lock
:
"nixpkgs": {
"locked": {
"lastModified": 1701436327,
"narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "91050ea1e57e50388fa87a3302ba12d188ef723a",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
The one that gets this error is like (nixosSystem {...}).config.mobile.outputs.u-boot.disk-image;
...outputs.u-boot.boot-partition
is fine.
here is the full config of the system, though the repo could take a lot of reading to really grok. I don't think I'm doing anything outrageous-- it's all worked before, the only difference is the flake lock a week or so after unstable
went from 23.11 to 24.05.