nixos-generators
nixos-generators copied to clipboard
sd-aarch64(-installer) fails for channels newer than 20.03
Error: builder for '/nix/store/aixbwq9xqwy5b52dmfxj2983b8lvyqa8-ext4-fs.img.zst.drv' failed with exit code 1; last 10 log lines: ERROR: ld.so: object '/nix/store/mpcfc780k9wr50dgvvlq0krnq68c2waz-libfaketime-0.9.8/lib/libfaketime.so.1' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Not sure if this is related to post 20.03 changes in make-ext4-fs
Or maybe libfaketime is broken.
Not sure if this is related to post 20.03 changes in make-ext4-fs
It was for me. Reverting https://github.com/NixOS/nixpkgs/commit/9ac1ab10c963a86457c2c9b1edf31542ff3737cd and https://github.com/NixOS/nixpkgs/commit/fd2047c642ba44d5c300149f63f68c34da773c04 should pass the build.
Any updates on this issue? I guess it is a problem caused by the mentioned change in nixpkgs that does not seem to be fixed, at least when I tried a couple of days ago.
It seems like the folks at nixpkgs have kept their change, and thus maybe we should try to do something here on the nixos-generators to make this work again.
I am not very good at nix, or Linux for that matter, I would have loved to be able to build an SD card image using nixos generators with the latest 20.09 nixpkgs. I just want to bring attention to this issue, and with some help, maybe I could try to tackle it as well.
I guess this should be fixed in nixpkgs. Just nobody took care of it. Currently this has no priority for me. It might help if you open an issue at nixpkgs.