The 4G testing branch fails to build on my desktop (x86 64):
`[nyymi@desktop:~/Git/mobile-nixos]$ nix-build --argstr device oneplus-enchilada -A outputs.android-fastboot-images
trace: (Using pinned Nixpkgs; nixos-unstable @ nixos-26.05pre940249.00c21e4c93d9)
trace: ****************************************
trace: * Evaluating device: oneplus-enchilada *
trace: ****************************************
trace: Building for cross?: "aarch64-linux" != "x86_64-linux" → we are.
nixpkgs.buildPlatform.config → "x86_64-unknown-linux-gnu"
nixpkgs.hostPlatform.config → "aarch64-unknown-linux-gnu"
evaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
trace: Building for cross?: "aarch64-linux" != "x86_64-linux" → we are.
nixpkgs.buildPlatform.config → "x86_64-unknown-linux-gnu"
nixpkgs.hostPlatform.config → "aarch64-unknown-linux-gnu"
evaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
these 10 derivations will be built:
/nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv
/nix/store/ak9x317ypsqqsmchkip7lk0sla33pfgb-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106.drv
/nix/store/5kwk80i61sj3c8aifs7f7w6kx7z9vqbw-dtb-mapping.json.drv
/nix/store/6w8jq41xm0wrrgymmb62drds7xf4pi0w-boot.json.drv
/nix/store/fl8hbs58pq2zhgql2lql61m64pa949fr-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106-modules.drv
/nix/store/jkxcnh9hc1szqp9l67fmpq8pzf0h1f7w-nixos-system-nixos-26.05pre940249.00c21e4c93d9.drv
/nix/store/xr0xssll7rr2z0cf2m1qpd8qilrphmkv-closure-info.drv
/nix/store/bwzj9gg7zl1vb5a6xfmgzn273yxlrhxm-filesystem-image.drv
/nix/store/svb1lh3851saa8zqvqpwdxpc8m7cc453-mobile-nixos_oneplus-enchilada_boot.img.drv
/nix/store/0z8r9m56r0djli78a37qvqsrhvfnv4sm-android-fastboot-images-oneplus-enchilada.drv
building '/nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/93kzvrz78pvq4mjml84266hly9iaa4zi-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
make[1]: gcc: No such file or directory
HOSTCC scripts/basic/fixdep
sh: line 1: gcc: command not found
make[2]: *** [scripts/Makefile.host:114: scripts/basic/fixdep] Error 127
make[1]: *** [/build/source/Makefile:655: scripts_basic] Error 2
make: *** [Makefile:248: __sub-make] Error 2
error: Cannot build '/nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/4mngk3sjqhqhxpr44aa8x56c20k7rfdf-sdm845-kernel-config-aarch64-unknown-linux-gnu
Last 15 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/93kzvrz78pvq4mjml84266hly9iaa4zi-source
> source root is source
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> no configure script, doing nothing
> Running phase: buildPhase
> make[1]: gcc: No such file or directory
> HOSTCC scripts/basic/fixdep
> sh: line 1: gcc: command not found
> make[2]: *** [scripts/Makefile.host:114: scripts/basic/fixdep] Error 127
> make[1]: *** [/build/source/Makefile:655: scripts_basic] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
For full logs, run:
nix log /nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv
error: Cannot build '/nix/store/ak9x317ypsqqsmchkip7lk0sla33pfgb-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/2nbwbn9m4k7n7qkz9wyn6bqm8w5bhwaf-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106
error: Cannot build '/nix/store/svb1lh3851saa8zqvqpwdxpc8m7cc453-mobile-nixos_oneplus-enchilada_boot.img.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/bfi63f97icxiyglxda5jrzkgrihhalzh-mobile-nixos_oneplus-enchilada_boot.img
error: Cannot build '/nix/store/jkxcnh9hc1szqp9l67fmpq8pzf0h1f7w-nixos-system-nixos-26.05pre940249.00c21e4c93d9.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/x1k0dd4xr9ld2db1my69xb19pamkhky5-nixos-system-nixos-26.05pre940249.00c21e4c93d9
error: Cannot build '/nix/store/0z8r9m56r0djli78a37qvqsrhvfnv4sm-android-fastboot-images-oneplus-enchilada.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/50yn9ny8447mrd2zyyivhjgjcgs42phs-android-fastboot-images-oneplus-enchilada`
I builded one image straight on the device but when it booted it did not connect to wifi with networkmanager as it did before and bluetooth devices did not connect (bluetoothctl) and the gui failed to start.
The 4G testing branch fails to build on my desktop (x86 64):
`[nyymi@desktop:~/Git/mobile-nixos]$ nix-build --argstr device oneplus-enchilada -A outputs.android-fastboot-images
trace: (Using pinned Nixpkgs; nixos-unstable @ nixos-26.05pre940249.00c21e4c93d9)
trace: ****************************************
trace: * Evaluating device: oneplus-enchilada *
trace: ****************************************
trace: Building for cross?: "aarch64-linux" != "x86_64-linux" → we are.
nixpkgs.buildPlatform.config → "x86_64-unknown-linux-gnu"
nixpkgs.hostPlatform.config → "aarch64-unknown-linux-gnu"
evaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
trace: Building for cross?: "aarch64-linux" != "x86_64-linux" → we are.
nixpkgs.buildPlatform.config → "x86_64-unknown-linux-gnu"
nixpkgs.hostPlatform.config → "aarch64-unknown-linux-gnu"
evaluation warning: system.stateVersion is not set, defaulting to 26.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
these 10 derivations will be built:
/nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv
/nix/store/ak9x317ypsqqsmchkip7lk0sla33pfgb-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106.drv
/nix/store/5kwk80i61sj3c8aifs7f7w6kx7z9vqbw-dtb-mapping.json.drv
/nix/store/6w8jq41xm0wrrgymmb62drds7xf4pi0w-boot.json.drv
/nix/store/fl8hbs58pq2zhgql2lql61m64pa949fr-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106-modules.drv
/nix/store/jkxcnh9hc1szqp9l67fmpq8pzf0h1f7w-nixos-system-nixos-26.05pre940249.00c21e4c93d9.drv
/nix/store/xr0xssll7rr2z0cf2m1qpd8qilrphmkv-closure-info.drv
/nix/store/bwzj9gg7zl1vb5a6xfmgzn273yxlrhxm-filesystem-image.drv
/nix/store/svb1lh3851saa8zqvqpwdxpc8m7cc453-mobile-nixos_oneplus-enchilada_boot.img.drv
/nix/store/0z8r9m56r0djli78a37qvqsrhvfnv4sm-android-fastboot-images-oneplus-enchilada.drv
building '/nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/93kzvrz78pvq4mjml84266hly9iaa4zi-source
source root is source
Running phase: patchPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: updateAutotoolsGnuConfigScriptsPhase
Running phase: configurePhase
no configure script, doing nothing
Running phase: buildPhase
make[1]: gcc: No such file or directory
HOSTCC scripts/basic/fixdep
sh: line 1: gcc: command not found
make[2]: *** [scripts/Makefile.host:114: scripts/basic/fixdep] Error 127
make[1]: *** [/build/source/Makefile:655: scripts_basic] Error 2
make: *** [Makefile:248: __sub-make] Error 2
error: Cannot build '/nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv'.
Reason: builder failed with exit code 2.
Output paths:
/nix/store/4mngk3sjqhqhxpr44aa8x56c20k7rfdf-sdm845-kernel-config-aarch64-unknown-linux-gnu
Last 15 log lines:
> Running phase: unpackPhase
> unpacking source archive /nix/store/93kzvrz78pvq4mjml84266hly9iaa4zi-source
> source root is source
> Running phase: patchPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: updateAutotoolsGnuConfigScriptsPhase
> Running phase: configurePhase
> no configure script, doing nothing
> Running phase: buildPhase
> make[1]: gcc: No such file or directory
> HOSTCC scripts/basic/fixdep
> sh: line 1: gcc: command not found
> make[2]: *** [scripts/Makefile.host:114: scripts/basic/fixdep] Error 127
> make[1]: *** [/build/source/Makefile:655: scripts_basic] Error 2
> make: *** [Makefile:248: __sub-make] Error 2
For full logs, run:
nix log /nix/store/88zwwdkldad2sb47bswpdcywy2982zr6-sdm845-kernel-config-aarch64-unknown-linux-gnu.drv
error: Cannot build '/nix/store/ak9x317ypsqqsmchkip7lk0sla33pfgb-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/2nbwbn9m4k7n7qkz9wyn6bqm8w5bhwaf-linux-aarch64-unknown-linux-gnu-6.19.0-rc4-next-20260106
error: Cannot build '/nix/store/svb1lh3851saa8zqvqpwdxpc8m7cc453-mobile-nixos_oneplus-enchilada_boot.img.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/bfi63f97icxiyglxda5jrzkgrihhalzh-mobile-nixos_oneplus-enchilada_boot.img
error: Cannot build '/nix/store/jkxcnh9hc1szqp9l67fmpq8pzf0h1f7w-nixos-system-nixos-26.05pre940249.00c21e4c93d9.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/x1k0dd4xr9ld2db1my69xb19pamkhky5-nixos-system-nixos-26.05pre940249.00c21e4c93d9
error: Cannot build '/nix/store/0z8r9m56r0djli78a37qvqsrhvfnv4sm-android-fastboot-images-oneplus-enchilada.drv'.
Reason: 1 dependency failed.
Output paths:
/nix/store/50yn9ny8447mrd2zyyivhjgjcgs42phs-android-fastboot-images-oneplus-enchilada`
I builded one image straight on the device but when it booted it did not connect to wifi with networkmanager as it did before and bluetooth devices did not connect (bluetoothctl) and the gui failed to start.